EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Can't get Common Gate spell to work (https://www.eqemulator.org/forums/showthread.php?t=40579)

superemu 04-19-2016 03:09 AM

Can't get Common Gate spell to work
 
I am replacing the new commonlands zone with the old ones on my server. But, I can't get the Common Gate spell to go to the right location. I changed the teleport zone to "commons," so the spell takes me to the correct zone. However no matter what I set the first 4 base values to, the spell takes me to the safe spot in that zone. I restart to server each time I make a change. I was able to get the druid ring spell to work.

Any ideas?

N0ctrnl 04-19-2016 03:14 AM

Check your spell scripts under quests/global/spells. Could be one in there hanging you up. I had that problem with Nektulos when working those spells out.

See if it's using this one: https://github.com/ProjectEQ/project...spells/544.lua

Furniture 04-19-2016 01:25 PM

You have run sharedmemory.exe after making the changes?

superemu 04-19-2016 01:59 PM

I was wrong when I said I got the druid ring spell to work. It also does not work.

Quote:

Check your spell scripts under quests/global/spells.
There is no file for 544 in that folder. Thanks for the warning, though. I will definitely keep it in mind in the future.

Quote:

You have run sharedmemory.exe after making the changes?
Yes. I restart all the server programs after I update spells. I learned that I had to do that or the changes wouldn't take effect.

Do I have to update the client spells file spells_us.txt when I change the port spell destination info? What seems to be happening is that no matter what values I put in the base value fields, I keep ending up at a location indicated by switching the x and y coordinates. How very strange.

superemu 04-19-2016 02:07 PM

Never mind. I figured it out. (SIGH)

I was putting the X and Y in the opposite fields. Apparently, Y goes in Base Value 1 and X goes in Base Value 2. Sheesh. :grin:

superemu 04-19-2016 08:39 PM

Scratch that. It's still not working right.

So now the spells only work when I port from another zone into commons. But if I try to port from inside commons, the client keeps sending an "Invalid unsolicited zone request" to the new zone (408 ).

Here is the request from the server to send the player to the old commons (zone id 21):

Code:

[04-19-2016 :: 17:27:17] [Packet :: Server -> Client (Dump)] [OP_RequestClientZoneChange - 0x0196] [Size: 26]
  0: 15 00 00 00 00 00 40 40 - 00 20 E6 44 00 00 70 C1  | ......@@. .D..p.
  16: 00 00 1F 43 01 00 00 00                            | ...C....

And here is the response from the client trying to send the player to the new commonlands (zone id 408 ):

Code:

[04-19-2016 :: 17:27:17] [Packet :: Client -> Server (Dump)] [OP_ZoneChange - 0x021f] [Size: 90]
  0: 57 69 7A 7A 69 65 00 00 - 00 00 02 00 B0 00 00 00  | Wizzie..........
  16: 00 00 00 00 E8 58 D5 00 - 30 D4 6D 24 98 89 19 00  | .....X..0.m$....
  32: 04 01 00 00 15 00 00 00 - 00 00 00 00 17 00 00 00  | ................
  48: 10 02 02 00 00 00 02 00 - 3C 0A 02 00 1E 00 00 00  | ........<.......
  64: 98 01 00 00 00 00 5F 43 - 00 E0 DE 44 00 00 18 42  | ......_C...D...B
  80: 07 00 00 00 00 00 00 00                            | ........


superemu 04-21-2016 10:26 AM

Had to export a new spells file for the client. All better now.

N0ctrnl 04-21-2016 06:48 PM

Well, yeah :)

Glad you got it working.


All times are GMT -4. The time now is 04:32 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.