Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

1.00.18 GS and 1.00.19 GS-CS - update 4

Experienced Elementalist
Joined
Aug 22, 2008
Messages
231
Reaction score
3
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

using knowledge based on fix sources and the pt version of these guides ive managed to create a summoner in game, generate damage from its attacks, and fixed most visual errors with summoner. Problem is only skills :p and skill tree and summoner quests and some events, summoner cant enter yet bc ds etc. I have no intention of running a server for myself, seems foolish to try to learn to code and not run one. I did this because I want to learn more about the protocols for season 3, so on global i can build my apollo hack.
 
Retired Old Man
Loyal Member
Joined
Jun 9, 2008
Messages
761
Reaction score
706
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

ehm LOL???

i created all things & double checked the codes till "Update 1 - Fix>Fix - Dll", and then was going to debug it so i can test: RESULTS

Code:
  Build Log
 	 	

Build started: Project: SrTeam, Configuration: Debug|Win32

Command Lines
 	 	

Creating temporary file "c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\RSP00000558485804.rsp" with contents
[
/Od /D "_WINDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP ".\fixs.cpp"

".\DllMain.cpp"
]
Creating command line "cl.exe @"c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\RSP00000558485804.rsp" /nologo /errorReport:prompt"

Output Window
 	 	

Compiling...
DllMain.cpp
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(4) : error C2146: syntax error : missing ';' before identifier 'ProtocolServer'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(4) : error C2146: syntax error : missing ')' before identifier 'Tipo'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(4) : error C2059: syntax error : ')'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(5) : error C2143: syntax error : missing ';' before '{'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(5) : error C2447: '{' : missing function header (old-style formal list?)
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(20) : error C2146: syntax error : missing ';' before identifier 'ProtocolClient'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(20) : error C2086: 'int BYTE' : redefinition
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(4) : see declaration of 'BYTE'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(20) : error C2146: syntax error : missing ')' before identifier 'Tipo'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(20) : error C2059: syntax error : ')'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(21) : error C2143: syntax error : missing ';' before '{'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(21) : error C2447: '{' : missing function header (old-style formal list?)
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(38) : error C2065: 'DWORD' : undeclared identifier
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(38) : error C2146: syntax error : missing ';' before identifier 'OldProtect'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(38) : error C2065: 'OldProtect' : undeclared identifier
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(39) : error C2065: 'PAGE_EXECUTE_READWRITE' : undeclared identifier
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(39) : error C2065: 'OldProtect' : undeclared identifier
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(39) : error C3861: 'VirtualProtect': identifier not found
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(39) : error C3861: 'LPVOID': identifier not found
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(41) : error C3861: 'Fixs': identifier not found
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(52) : error C2065: 'MB_OK' : undeclared identifier
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\dllmain.cpp(52) : error C3861: 'MessageBoxA': identifier not found
fixs.cpp
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(5) : error C2365: 'SetByte' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(9) : see declaration of 'SetByte'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(5) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(6) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(6) : error C2365: 'SetByte' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(9) : see declaration of 'SetByte'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(6) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(9) : error C2365: 'SetNop' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(7) : see declaration of 'SetNop'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(9) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(10) : error C2365: 'SetNop' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(7) : see declaration of 'SetNop'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(10) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(13) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(13) : error C2365: 'SetNop' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(7) : see declaration of 'SetNop'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(13) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(16) : error C2365: 'SetByte' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(9) : see declaration of 'SetByte'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(16) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(19) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(19) : error C2365: 'SetRetn' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(8) : see declaration of 'SetRetn'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(20) : error C2365: 'SetRetn' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(8) : see declaration of 'SetRetn'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(21) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(21) : error C2365: 'SetRetn' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(8) : see declaration of 'SetRetn'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(24) : error C2365: 'SetNop' : redefinition; previous definition was 'function'
        c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\utilities.h(7) : see declaration of 'SetNop'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(24) : error C2078: too many initializers
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(25) : error C2059: syntax error : '}'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(25) : error C2143: syntax error : missing ';' before '}'
c:\users\kotikone\documents\visual studio 2008\projects\srteam\srteam\fixs.cpp(25) : error C2059: syntax error : '}'
Generating Code...

Results
 	 	

Build log was saved at "file://c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\BuildLog.htm"
SrTeam - 55 error(s), 0 warning(s)

NOTICE!, every single code is same as the guide says, so WTF?? is this a joke??
 
Kingdom of Shadows
Loyal Member
Joined
Jul 13, 2007
Messages
923
Reaction score
320
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

you missed something,read the code and if is same as in tutorial than read again the code and start your brain in c++ mode.
PS: there are not 55 errors,is only 1 but if you missed ; or ) or } all the code is wrong so dont worry,you will solve it :D
 
Retired Old Man
Loyal Member
Joined
Jun 9, 2008
Messages
761
Reaction score
706
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

Code:
  Build Log
 	 	

Build started: Project: SrTeam, Configuration: Debug|Win32

Command Lines
 	 	

Creating temporary file "c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\RSP00000E56925632.rsp" with contents
[
/Od /D "_WINDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP ".\fixs.cpp"

".\DllMain.cpp"
]
Creating command line "cl.exe @"c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\RSP00000E56925632.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\RSP00000F56925632.rsp" with contents
[
/OUT:"C:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\Debug\SrTeam.dll" /DLL /MANIFEST /MANIFESTFILE:"Debug\SrTeam.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\Debug\SrTeam.pdb" /DYNAMICBASE /NXCOMPAT /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

".\Debug\DllMain.obj"

".\Debug\configs.obj"

".\Debug\fixs.obj"

".\Debug\utilities.obj"
]
Creating command line "link.exe @"c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\RSP00000F56925632.rsp" /NOLOGO /ERRORREPORT:PROMPT"

Output Window
 	 	

Compiling...
DllMain.cpp
fixs.cpp
Generating Code...
Linking...
   Creating library C:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\Debug\SrTeam.lib and object C:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\Debug\SrTeam.exp
fixs.obj : error LNK2019: unresolved external symbol "void __cdecl SetByte(unsigned long,unsigned char)" (?SetByte@@YAXKE@Z) referenced in function "void __cdecl fixs(void)" (?fixs@@YAXXZ)
C:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\Debug\SrTeam.dll : fatal error LNK1120: 1 unresolved externals

Results
 	 	

Build log was saved at "file://c:\Users\Kotikone\Documents\Visual Studio 2008\Projects\SrTeam\SrTeam\Debug\BuildLog.htm"
SrTeam - 2 error(s), 0 warning(s)

HELP?
 
Newbie Spellweaver
Joined
Sep 3, 2005
Messages
11
Reaction score
0
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

There is a wrong ItemAddOption.txt file as it makes server to crash. So if you are getting server crash after doing Update 1 - Structure, just change this file.
 
Newbie Spellweaver
Joined
Sep 3, 2005
Messages
11
Reaction score
0
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

I am doing everything step by step making dll and hooking it for the first time and I get GS crash .. Could someone please share his dll with sources and also GS (where there is just a hooked dll that is just changing protocols using offsets from tutorial), so I can find my problem out. Thanks.

Edit1: I made just a dll with one function to show pop up with text "Dll is loaded" to check if my GS is importing dll at all. So on my own PC with VS 2008 installed everything goes well, I have that message but on the target machine with VS 2005 it is just ignoring dll, no errors etc. If there would be any uncompatibility with VS there would be an error, but it just ignores dll, so it is not loading it and can't run Inicio function. What can you say about it?

Edit2: Ok, I have fixed it, I needed to install Visual C++ 2008 Redistributable Package on the target machine so it can load dll. So on the moment it seems that there might be 2 problems: 1) wrong ItemAddOption.txt file 2) you need to install Redist package on the target machine, so everything goes well :)
 
Last edited:
Experienced Elementalist
Joined
Aug 22, 2008
Messages
231
Reaction score
3
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

i was wondering since you can add new char crtl codes to the game, along with the formula to fix them, why didnt anyone make a pre-emptive slot for a totally new character yet?
 
Experienced Elementalist
Joined
Aug 25, 2005
Messages
253
Reaction score
20
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

i was wondering since you can add new char crtl codes to the game, along with the formula to fix them, why didnt anyone make a pre-emptive slot for a totally new character yet?

Do you mean adding new character? :smile:

If yes...Think again. You must change the entire client. That means a lot of main.exe modding which is very hard.
 
Experienced Elementalist
Joined
Aug 22, 2008
Messages
231
Reaction score
3
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

i was mainly talking about in the gameserver. Client would be a different story since we dont have a guide from Team RaGEZONEBR about clients. It can be done, for the right price on client. Nothings very hard, only a matter of time, some people are faster than others.

-10 for the discouragement.
 
Newbie Spellweaver
Joined
May 6, 2008
Messages
32
Reaction score
0
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

hmmm sounds interesting...
i'll try this and see if it'll be worth it...
 
Experienced Elementalist
Joined
Aug 22, 2008
Messages
231
Reaction score
3
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

its worth about a buggy season 3 episode 2 with pre-emptive season 4 additions to it. it depends widely on you knowing c++ and asm, not soo much on the asm part, but you need to know and understand how to hook and edit gameserver using ollydbg.

the outcome if you do everything the guide tells you is buggy, but by then you should be abke to fix it.
 
Newbie Spellweaver
Joined
Sep 3, 2005
Messages
11
Reaction score
0
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

Ok, I have stopped at hooking dll at GSCS. I have compiled dll hooked it, it seems to work ok, everyting is working, but when I warp to GSCS it is crashing, debug info:

Unhandled exception at 0x9049c93f in GameServer_CS.exe: 0xC0000005: Access violation reading location 0x9049c93f.

Did anyone here have this error? whats wrong..

Edit: I have solved this, there is an error in EN tutorial:

33 D2 E9 92 08 00 90 90 => 33 D2 E9 92 08 00 00 90 90
 
Elite Diviner
Joined
Feb 14, 2006
Messages
407
Reaction score
7
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

Why i can't read the guide? Does it need a software to run?
 
Experienced Elementalist
Joined
Aug 22, 2008
Messages
231
Reaction score
3
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

they stopped development on this project because to many ppl were leeching the code for their own. Sad really, if anyone wants to translate it from English to Portuguese then that would be helpful, but they wont be updating it, just read their blog.
 
Newbie Spellweaver
Joined
Dec 30, 2008
Messages
17
Reaction score
0
Re: [Guide] 1.00.18 GS and 1.00.19 GS-CS - update 4

hi i have 2 errors in Procolos.cpp

My Procololos.cpp

Code:
#include "Protocolos.h"
#include "GameServer.h"
#include "Global.h"

BYTE ProtocolServer (BYTE Tipo){
switch(Tipo){
case 0x1D: return 0xD3;
case 0xD6: return 0xDF;
case 0xDC: return 0xD7;
}
return Tipo;
}


BYTE ProtocolClient (BYTE Tipo){
switch(Tipo){
case 0xD3: return 0x1D;
case 0xDF: return 0xD6;
case 0xD7: return 0xDC;
}
return Tipo;
}


WORD MakeWord (BYTE loByte,BYTE hiByte)
{
WORD x = 0;
_asm
{
XOR EAX,EAX
MOV AL,loByte
MOV AH,hiByte
MOV x,AX
}
return x;
}
bool ProtocolCore(BYTE ProtocolID,PBYTE tpProtocol,DWORD ProtocolLen,DWORD PlayerID,DWORD bEncrypt,int EncryptSerial)
{

BYTE ProtocolType;
BYTE pProtocol[pMaxLen];
memcpy(pProtocol,tpProtocol,ProtocolLen+1);

if((pProtocol[0]==0xC1))
{
switch(BYTE(ProtocolID))
{
case 0x10:
ProtocolID = 0xD7;
break;
}
}


switch(BYTE(ProtocolID))
{
case 0x03:
GCServerMsgStringSend(ConnectNotice,PlayerID,0); //( I NOTED THE ERROR HERE)
break;
}


DataRecv(ProtocolID, pProtocol, ProtocolLen, PlayerID, bEncrypt, EncryptSerial);

return true;
}

I get this error at the time of desbug
Code:
1 Error C2064: The term is not evaluated as a function with 3 arguments
2 Error C2143: syntax error: missing ')' before ';'


Please Help
 
Newbie Spellweaver
Joined
Oct 6, 2008
Messages
14
Reaction score
0
Give someone "Offset" or "F.A.Q." to change the reward from СС(Chaos Castle).
P.S. Sorry fo my bad English.
wait...
 
Initiate Mage
Joined
Feb 19, 2011
Messages
1
Reaction score
0
I get the error of GS [ItemFor380System] and change the ItemSetOption (kor). txt and I get an error but does not finish loading! someone has 1 ItemSetOption (kor). txt for this GS and run well.!

Salu2!
 
Newbie Spellweaver
Joined
Dec 4, 2010
Messages
16
Reaction score
0
who have this project but developer : lucianaibar - release it.
thanks.
 
Back
Top