SetPosition() is crashing my world.exe

Old bugs stored here for reference.
Locked
Rixan
Posts: 12
Joined: Tue Jan 09, 2018 5:30 am

SetPosition() is crashing my world.exe

Post by Rixan » Mon Mar 12, 2018 5:19 pm

Is anyone else getting the same thing?

How I'm using it:

Code: Select all

function hailed(NPC, Spawn)
    SetPosition(Spawn, 10, 0, -20)
end
Worldserver logs text file says nothing about the crash. I did not modify anything in the emulator source code. What gives?

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: SetPosition() is crashing my world.exe

Post by Ememjr » Tue Mar 13, 2018 5:51 am

since that is an exact copy of the example from the wikia, are you sure those coordinates exist in the zone you are in

on the spawn you are trying this on, do a /loc in client to get your coordinates and try using those, if it works the npc should be on top of you

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: SetPosition() is crashing my world.exe

Post by Ememjr » Tue Mar 13, 2018 5:56 am

actually looks like i may be wrong, that is moving a player spawn, which is yourslef most likely so stand awy from the npc your hailing get /loc then use that, and when hailed it should move you to taht no location

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: SetPosition() is crashing my world.exe

Post by Jabantiz » Wed Mar 14, 2018 5:40 pm

Rixan wrote: Mon Mar 12, 2018 5:19 pm Is anyone else getting the same thing?
Sorry for the late reply, today is the first day I even had a chance to test it.

With my CoE client it works as expected, no crash. What client are you using, if it is a live client it may be a struct issue.

EDIT: Tested with a client from Jan 9 and again worked like it was suppose to and no crash.

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: SetPosition() is crashing my world.exe

Post by Cynnar » Fri Jun 22, 2018 1:39 pm

Has this been resolved? If so I'm moving to archives section.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: SetPosition() is crashing my world.exe

Post by tyrbo » Fri Jun 22, 2018 2:23 pm

Was probably only an issue on my server. Can probably disregard.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest