Jump to content

Just starting, need pointers


Guest Rhodan

Recommended Posts

I just got a MaNGOS server up and running and now I want to start digging in and seeing how things work. Problem is I really don't know where to start looking. I'm not interested in changing the core code itself just learning how scripting works and how the database relations work.

I have had quite a bit of experience with programming though I wouldn't presume to call myself a programmer - more like a 'hacker' in the original sense of the work (if at first it doesn't succeed, keep hacking away at the program until it does!). I have done live webs with Postgres as the back end using PHP (it was easy once you got the hang of how they work together) and MySQL is proving to be just as easy.

I have used EQEmu in the past and worked on the pearl scripts without any difficulty but this idea of having the scripts in the database throws me off. Is there anything like a tutorial to show how to get started with the scripting?

Also, I have a few problems in game. Things like Warlock Demon skin buffs lasting only a few seconds and quitting if the player gets hit. Are spell problems database related or core related? Any links to informative web pages appreciated.

Thanks!

Link to comment
Share on other sites

I just got a MaNGOS server up and running and now I want to start digging in and seeing how things work. Problem is I really don't know where to start looking. I'm not interested in changing the core code itself just learning how scripting works and how the database relations work.

I have had quite a bit of experience with programming though I wouldn't presume to call myself a programmer - more like a 'hacker' in the original sense of the work (if at first it doesn't succeed, keep hacking away at the program until it does!). I have done live webs with Postgres as the back end using PHP (it was easy once you got the hang of how they work together) and MySQL is proving to be just as easy.

I have used EQEmu in the past and worked on the pearl scripts without any difficulty but this idea of having the scripts in the database throws me off. Is there anything like a tutorial to show how to get started with the scripting?

Also, I have a few problems in game. Things like Warlock Demon skin buffs lasting only a few seconds and quitting if the player gets hit. Are spell problems database related or core related? Any links to informative web pages appreciated.

Thanks!

As for Mangos-related code to begin with, try src/game/* , perhaps SD2 guys can tell you where to begin with scripts.

PS: nice to see that at least someone remembers the original meaning of that word

Link to comment
Share on other sites

Some pointers for you:

[14:45:20]: 0x011CA274 -> CNetClient__ClassPtr

[14:45:20]: 0x011779A4 -> CInputControl__ClassPtr

[14:45:20]: 0x012DAD10 -> CGameTime__TimePtr

[14:45:20]: 0x012EA520 -> TextSegStartPtr

[14:45:20]: 0x012EA524 -> TextSegEndPtr

/me is an asshole :D

/me waits patiently to see first of all if anyone 'gets it', second of all if anyone can link a certain comic that depicts this exact situation

PS. Bonus: Those pointers are real and valid. :P (WoW.exe v3.0.3 Retail)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use