PenUltima Online

It is currently Thu Aug 21, 2008 11:23 pm

All times are UTC - 4 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: enterscript
PostPosted: Wed Feb 15, 2006 8:14 am 
Offline

Joined: Sun Feb 05, 2006 8:35 pm
Posts: 160
Location: Poland
linux core 18-01

core doesn't call EnterScript when character is moved by function moveobjecttolocation neither by movecharactertolocation.

Players use teleport spell next to the border of region and they pass my newbie area


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 03, 2006 4:15 pm 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 6:30 am
Posts: 384
Location: San Diego, California
Tested and am unable to reproduce this. They work just fine.

To verify, in the 096 distro SVN I placed in a regions.cfg entry for GM jail and some scripts in a coords package to support it. Both work when .go is used to move between the 'jail' and somewhere else in the world (so enter and leave region scripts work).

Either you put in the wrong case name for the file names or are doing something else wrong.

_________________
-Austin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 05, 2006 11:17 am 
Offline

Joined: Sun Feb 05, 2006 8:35 pm
Posts: 160
Location: Poland
.go works fine but when player stand next to the border and when he use teleport spell he sometimes passess my area, sometimes don't. Region script:

program EnterRegionZone(who)

if(example of "if")
SendSysMessage(who, "something something",3,40);

MoveObjectToLocation(who, 2586 , 198, 0, _DEFAULT_REALM, MOVEOBJECT_FORCELOCATION);


endif
endprogram


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 05, 2006 3:10 pm 
Offline
POL Developer
User avatar

Joined: Mon Feb 13, 2006 1:50 am
Posts: 830
Location: Indiana, USA
It works fine with EVERY instance of using .go for enterscript etc?

What command does your .go use to move them, and what command does the teleport spell use? That's the first place to start since this is a "random" issue.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 05, 2006 4:22 pm 
Offline

Joined: Sun Feb 05, 2006 8:35 pm
Posts: 160
Location: Poland
my fault, issue resolved


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 05, 2006 7:17 pm 
Offline
POL Developer
User avatar

Joined: Mon Feb 13, 2006 1:50 am
Posts: 830
Location: Indiana, USA
Please report the way it was resolved (for other people's information). That way, others with the same problem can learn from your experience :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 06, 2006 1:02 pm 
Offline

Joined: Sun Feb 05, 2006 8:35 pm
Posts: 160
Location: Poland
it's not core related problem, just my stupidity with "if " and "&&" i think :). Next time i'm gonna check every line of code before posting in bug reports, sorry.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl