Small collection of knowledge for newbyes

11/01/2015 13:58 Proxynear#1
I see some newbyes needing help and i know for some knows more this will be a stupid post or something else but my intention is help some Newbies.
If i say something not correct or not like this way just pm or reply for i can correct it !
[Only registered and activated users can see links. Click Here To Register...]
So lets start by Action 9:

Some known errors :

- Cast Server A9 crash :

- Session is null :

- Dekaron Server crash :

- Dekaron Server crash at loading skills :

- When you try to login in A9 and it says "Invalid ID":

How to enable debug output on the client side:

- Your dekaron server.exe crash at begin:

- Here is some common errors for developing but it should help:
- Create account querry if you need:

Quote:

Will update some more common error for help newbyes :)
Leave thanks if you like
Credits : guesswho , Farius~, jaskile12, Proxynear
11/01/2015 18:18 [DEV]Dekaron#2
Quote:
For this problem go in ur dekaronserver config and session config (also login too) and change port to 10000 if it was 10001 . It works with 10001 but you need to portfoward and in this 3 put that port and same server id.
Never forward this port and don't open any connection for this port on you'r router or network.

my dekaronserver config have
SESSION_NO1_PORT = 10001 port are closed not forward.

sesionserver
SESSION_SERVER_PORT = 10001 port are close not forward

loginserver
SESSION_NO1_PORT = 10001 port are close not forward

Read if you don't want HACKER on your SQL or PC
11/01/2015 19:41 guesswho-.-#3
Dekaron client crash reasons can be easily debugged.
Enable debug output in the exe and run a debug monitor. it will tell you exactly which file messes up and crashes it.

also dont open port the sessionserver port. it's an internal connection between the executables and they should never be accessible from the outside.
since sessionserver.exe acts as a client you can easily hijack the connection with your own dekaronserver.exe. imagine the possibilities yourself.

also your create-account query looks fishy, why dont you call the SP from the database? SP_ACC_CREATE should be in the database by default, but in case someone doesnt have it, here it is:


and this is how you should call it (it's a generated query.. doesnt get much easier than this)
keep in mind sessionserver sends a MD5 hash of your password when contacting the database, so your password has to be in MD5 too.
11/01/2015 21:13 Proxynear#4
Thanks for correct me , ive added that to the topic
11/01/2015 21:36 Ultimo ☼#5
Quote:
Originally Posted by Proxynear View Post
Thanks for correct me , ive added that to the topic
u forgot to add the last query
11/01/2015 21:43 Proxynear#6
Now there it is :)
Thanks , if i miss something just let me know
11/01/2015 21:59 guesswho-.-#7
and to enable debug output on the client side
for noobs:
go to 0094C4E8 and nop the conditional jump

for everyone else:
open up the exe in olly (make sure the exe is unpacked), right click on the code -> search for -> all intermodular calls
then look for KERNEL32.OutputDebugStringA
there will be like 4 - 6 results and only one of them is the correct one, make sure to push ctrl+A to analyze the exe, then go to the call address and place a breakpoint on the beginning of the code. it's disabled by default so the real call will never execute.
then after you find the right one and see that the conditional jump always jumps over the right call, nop it.
thats it, save the exe and from now on you'll have debug string output. keep in mind that running the game with a debug monitor will significantly slow down the load time and general game performance. so for public releases make sure to retn the call
11/02/2015 08:27 Proxynear#8
Added
11/22/2015 06:07 a0833278098#9
help link Regedit key T T
01/02/2016 19:15 Proxynear#10
For who need the Regedit key here it is !
Go to Local machine -> Software -> WoW6432Node -> Make new folder called GameHi and there u need to create the key . Here is the code for key
01/26/2016 15:29 Proxynear#11
Added how to remove IPList and credits ;)