DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 12, 2018, 09:36:53 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Thieves in the night module  (Read 3452 times)
0 Members and 1 Guest are viewing this topic.
Zach
Guest
« on: December 22, 2004, 12:13:51 PM »

I just uploaded my first module! It gives a random chance of players being robbed while sleeping in the fields. They can also gain charm and gold from said robberies. I would love the feedback and input of anyone who tries it out.

P.S. - Sorry I didn't add the link to it, but I forgot how to do it. I'll be the bottom folder though so it shouldn't be hard to find.
« Last Edit: December 30, 2004, 05:26:04 PM by Zach » Logged
Sichae
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: December 22, 2004, 12:17:44 PM »

http://dragonprime.net/users/Zach/nightthief.txt

There ya go. ^.^
Logged

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

XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #2 on: December 22, 2004, 12:23:12 PM »

http://dragonprime.net/users/Zach/nightthief.txt

first thing I see... The user will get robbed, even if he stays in the inn...

oh, no... right... but you could save the user pref...
just put your newday-intercept if-clause to the newday clause and change " == " to " <> "... Then kill the user pref (unless you need it for statistics Wink ) and run nightthief_rob() in any case...

(Don't forget about the other if-clause there...)

But for the rest... looks great Wink nice idea Smiley especially nice, if someone brought all his money to the bank before resting and then gained a lot of gold due to a won pvp... hehe... yes... quite nice... Wink

EDIT: Argh... Sichae was faster again... Wink
« Last Edit: December 22, 2004, 12:23:50 PM by XChrisX » Logged

Running for more than three years now:
Zach
Guest
« Reply #3 on: December 22, 2004, 12:57:27 PM »

Thanks for the suggestion Chris. I like that much better. I'll get the new version up on the site as soon as I get time.

EDIT: Tried rewriting the code as described, but apparently screwed something up, so it's gonna stay as it is for now. Problem is, you still get robbed while you are in the inn. I'll try to fix that tonight.
« Last Edit: December 22, 2004, 07:18:39 PM by Zach » Logged
Zach
Guest
« Reply #4 on: December 24, 2004, 10:24:28 PM »

Due to some functionallity issues (like getting attacked while sleeping at the inn) I removed this module. I will put it back up as soon as I get the bugs worked out.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

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