Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2014, 05:30 AM
surrus
Fire Beetle
 
Join Date: Oct 2008
Posts: 4
Default Bug: Bots loading scripts

Hello,
ran into a strange bug. If the conditions are correct a Bot attempts to load a scriptfile.

Bot ID: 1
- No problem

Bot ID: 1
quests/global/1.pl
- no problem

Bot ID: 1
quests/global/1.pl
npctype ID exists: 1
- Bot attempts to load the script

Bot ID: 1
quests/global/test.pl
npctype ID exists: 1 (Name: test)
- Bot attempts to load the script


So if there is a Bot with the same ID as a existing NPC and a script linked to this NPC either by ID or Name it will attempt to load the script. This does happen everywhere when in the global folder or only in the specific zone if there is a script for this npc/id in the zone folder.

Id actually doesnt matter if 1 or 100000.

It will only react to sub EVENT_SPAWN and then only if there is a quest::ze() in it. Anything else before and after crashed the script in my tests.

I tried it in 3 different compiles i have, in all of them it happened.
Reply With Quote
  #2  
Old 01-31-2014, 03:37 PM
surrus
Fire Beetle
 
Join Date: Oct 2008
Posts: 4
Default

Still no edit button here...

I have to correct myself there, they can use pretty much any command including setting globals.

Still not sure if this is a general problem or just with my compiles. Also with the latest revs no changes there for me.
Reply With Quote
Reply


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 10:39 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3