View Single Post
  #6  
Old 09-30-2011, 08:03 PM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Quote:
Originally Posted by Tabasco View Post
In zone/perl_client.cpp
XS(XS_Client_AddEXP)

You could just put something in there like add_exp *= 10 or whatever mutliplier.
Also in zone/perlparser.cpp
XS(XS__exp)

amt *= <multiplier>

Those exp function should only be called from quest scripts.
So those two are seperate? I did find quite a bit of experience code but I couldn't tell if it was called by perl as well as by killing mobs.

In the quest scripts it has quest::exp(). I really don't know much at all about C++ and microsoft ways of doing things and I can't figure out what the "::" is about. Is that a sort of casting or a way to show where the function is coming from?

How would I figure out what area of code to look in? There must be someplace where the compiler is told that quest::exp() goes to XS(XS_EXP). If I can figure out how to search for things then I'd have a lot less need to bug you folks
Reply With Quote