PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
enterscript

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096
Display posts from previous:   

Author Message
qrak



Joined: 05 Feb 2006
Posts: 160
Location: Poland

PostPosted: Wed Feb 15, 2006 8:14 am    Post subject: enterscript Reply with quote

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

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 354
Location: San Diego, California

PostPosted: Fri Mar 03, 2006 4:15 pm    Post subject: Reply with quote

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.

Author Message
qrak



Joined: 05 Feb 2006
Posts: 160
Location: Poland

PostPosted: Sun Mar 05, 2006 11:17 am    Post subject: Reply with quote

.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

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Mar 05, 2006 3:10 pm    Post subject: Reply with quote

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.

Author Message
qrak



Joined: 05 Feb 2006
Posts: 160
Location: Poland

PostPosted: Sun Mar 05, 2006 4:22 pm    Post subject: Reply with quote

my fault, issue resolved

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Mar 05, 2006 7:17 pm    Post subject: Reply with quote

Please report the way it was resolved (for other people's information). That way, others with the same problem can learn from your experience Smile

Author Message
qrak



Joined: 05 Feb 2006
Posts: 160
Location: Poland

PostPosted: Mon Mar 06, 2006 1:02 pm    Post subject: Reply with quote

it's not core related problem, just my stupidity with "if " and "&&" i think Smile. Next time i'm gonna check every line of code before posting in bug reports, sorry.

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty