Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 05-02-2013, 11:35 PM
Ruyenloresearcher
Fire Beetle
 
Join Date: Mar 2013
Location: United States
Posts: 6
Default

I have been trying to add in a extra chance of random loot and my last thing I tried ended up in disaster. But now the back up files are loaded I ran across this thread and it was a bit more tailored for what I was interested in.

The first part I got done, made a plugin GetRandomLoot but I am having problems with the Python script. I have Python 2.7 and been getting invalid syntax.

python additem.py
SKIPPING: .keep [not a directory]
SKIPPING: .svn [hidden directory]
CURRENT ZONE: abysmal
Traceback (most recent call last):
File "additem.py", line 73, in <module>
parseScript(os.path.join(zone, script))
File "additem.py", line 45, in parseScript
modEventDeath(content)
NameError: global name 'modEventDeath' is not defined

That is what I get when the bottom Script is ran. Hmmmmm, trying to make heads or tails of code is tough this late at night. Maybe in the morning it will be a bit clearer.

Any clue to point me in the right direction would be much obliged.

I really want to thank you c0ncrete and all the others that post so many examples of code to help us nonprogrammers. I have been trying to pick up some now and then (I can do Hello World in Python) but hard to with family and work taking up much time.

Ruyen
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:22 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3