DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • September 23, 2018, 01:16:43 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: *BETA* Magic Frog Forest Event  (Read 3067 times)
0 Members and 1 Guest are viewing this topic.
« on: January 25, 2005, 10:33:20 AM »

Hey Guys and thanks to robert [I used your script to learn how to code a bit, tell me if this is OK, if not, i'll remove the file immediately! Wink], this is my first EVER MOD for LOTGD and it is adapted from robert's wannabe knight script! I hope this works on everybodies LOTGD, it works on mine but I am hoping to add some more things to it when i have a bit more knowledge of php coding!

http://dragonprime.net/users/rudiviss1/magicfrog.zip I THINK AT THE MOMENT [may change soon! Sorry  Wink]

To install, simply drag into the specials folder in the LOTGD directory.

Please give me feedback! Thanks!

Is V 0.98 coding any different to 0.97???

iMod God
SVN Users
Mod God
Offline Offline

Posts: 3458

If ya didn't get it by now... you're hopeless...

View Profile WWW
« Reply #1 on: January 25, 2005, 10:56:01 AM »

I do believe that 98 coding is much different of 97, as it requires not to many alterations of the core files and core databases, and usually holds all of the variables local.

Like in 97, to allow a person to hold a Blue Gem (New Currency) you could make an alteration to the accounts table, and add that is, referencing it as:
But, in 98, you can store it in a pref:
"blue"=>"How many blue gems does this user have,int|0",
And increment it, when they reach a special or something:
$bluegem = get_module_pref("blue");
Like so.

Then, you could hook (in the dohook) into charstats:
case "charstats":
$title = translate_inline("Personal Info");
$name = translate_inline("Blue Gems");
$amnt = get_module_pref("blue");
Instead of modding the core file, to make those apparent.

So, to answer your question, 98 and 97 are different, and I prefer 98 to 97 any day. ^_^


The links in this Forum are case sensitive ^_^
« Last Edit: January 25, 2005, 10:56:35 AM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Mod God
Offline Offline

Posts: 5479

View Profile WWW
« Reply #2 on: January 25, 2005, 10:59:37 AM »

Although you gave Robert due credit in your announcement thread and in the zip popup message, you failed to credit him in the actual mod file as this is often the only thing people will see.  You must do this.

Play the latest beta version here on DragonPrime
« Reply #3 on: January 25, 2005, 11:05:50 AM »

Thanks very much guys, i'm just goin to edit the file now, and upload it again ASAP, thanks for resetting the link and the 098 coding etc.!
Pages: [1]   Go Up
Jump to:  

DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
27 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search