Chat global

Chat
Loading the chat ...
Adicionar / Alterar...
 
Notifications
Clear all

Adicionar / Alterar itens iniciais

1 Posts
1 Usuários
2 Reactions
26 Visualizações
paladinoxd
(@paladinoxd)
Posts: 17
Mentor Respeitado
Topic starter
 

Bom dia Galera, estarei postando alguns tutoriais da minha source que deixei como base pra estudos.

hoje vou ensinar a colocar alguns itens iniciais (a sua escolha) para seu char

 

Abra a source do server e abre o arquivo "OnServer.cpp"

procure por: int LowLevelItems(rsPLAYINFO* lpPlayInfo)

abaixo estará os itens iniciais para quando criar o personagem

não tem muito oque comentar sobre isso, pois está bem facil de entender

/*
switch (lpPlayInfo->smCharInfo.JOB_CODE)
{
// Lutador
case 1:
createLowLevelItems(lpPlayInfo, "WA101", 0);
break;
// Mecânico
case 2:
createLowLevelItems(lpPlayInfo, "WC101", 0);
break;
// Arqueira
case 3:
createLowLevelItems(lpPlayInfo, "WS101", 0);
break;
// Pike
case 4:
createLowLevelItems(lpPlayInfo, "WP101", 0);
break;
// Atalanta
case 5:
createLowLevelItems(lpPlayInfo, "WT101", 0);
break;
// Cavaleiro
case 6:
createLowLevelItems(lpPlayInfo, "WS201", 0);
break;
// Mago
case 7:
createLowLevelItems(lpPlayInfo, "WM101", 0);
break;
// Prs
case 8:
createLowLevelItems(lpPlayInfo, "WM101", 0);
break;
}
 
if (lpPlayInfo->smCharInfo.JOB_CODE < 7)
createLowLevelItems(lpPlayInfo, "da102", 0);
else
createLowLevelItems(lpPlayInfo, "da202", 0);
 
if (lpPlayInfo->smCharInfo.JOB_CODE < 7)
createLowLevelItems(lpPlayInfo, "DS101", 0);
else
createLowLevelItems(lpPlayInfo, "OM101", 0); */
 
//createLowLevelItems(lpPlayInfo, "GP109", 0);
//createLowLevelItems(lpPlayInfo, "GP109", 0);
//createLowLevelItems(lpPlayInfo, "GP109", 0);
//createLowLevelItems(lpPlayInfo, "GP109", 0);
//createLowLevelItems(lpPlayInfo, "GP109", 0);
//createLowLevelItems(lpPlayInfo, "OR121", 0);
//createLowLevelItems(lpPlayInfo, "OA121", 0);
 
altere a seu gosto 
 
Postado : 27/08/2025 11:15 am
ViGo and PoTrAs18 reacted
Compartilhar:

Anúncio