Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Solving Dupe Striders bug.? (https://postpacific.loc-online.com/showthread.php?t=782)

rodier 30.05.2005 19:41

Solving Dupe Striders bug.?
 
Im trying find way how to solve that problem when player can trade dragon_bugle when mounted = then strider/wyvern is duped and another player can summon it and mount it too. Its only till restart / dismount.. but it is annoying :(
I tried to set dragon_bugles/flutes trade=0 drop=0 .. but then I can't switch hatchling flute for striders in game :(
I tried switch it in user_item via sql query :
update lin2world.dbo.user_item set item_type = 4422 where item_type = 3500 and enchant >= 55
update lin2world.dbo.user_item set item_type = 4423 where item_type = 3501 and enchant >= 55
update lin2world.dbo.user_item set item_type = 4424 where item_type = 3502 and enchant >= 55

but that is not working. yes, player get dragon_bugle BUT it summon always hatchling ;-( yes there is pet_data table.. but dont know how to make query for that.
if I assume npc_class_id = 1012527 is strider_wind (or star) .. dont know how find what in pet_data is L55 hatchling ready for switch ;-(


Any help how to solve this problem? It is possible to set multisell to sell this bugle ONLY for L55 hatchling flute? I dont think if is possible multisell check enchant parameter at flute....

Thanks for help..

rodier 30.05.2005 20:05

hmm I try add this .. maybe work
update lin2world.dbo.pet_data set npc_class_id = 1012527 where expoint >= 20111393 AND expoint<= 26943858
its L55 exp @ wind and star (+ little more in cause anyone level hatchling to more than L55)

Rikku 31.05.2005 00:17

get back to us if you don;t mind tell me if it worked.. I'm little scared playing with my db's on trial / error stuff :(

Good luck.

rodier 31.05.2005 01:50

I dont have 100% proof I post here my results later today (Im on normal server with thousand of people too :-))

This change hatchling to strider, I suppose player dont exp hatchling too much over L55
Code:

update lin2world.dbo.pet_data set npc_class_id = 1012527 where expoint >= 20111393 AND expoint<= 26943858
This set right attributes (xp/hp/mp/meal) to new strider [if u not set, new strider will has old hatchling attributes]
Code:

update lin2world.dbo.pet_data set expoint = 35426518 where expoint >= 20111393 AND expoint<= 26943858
update lin2world.dbo.pet_data set hp = 1673 where expoint = 35426518
update lin2world.dbo.pet_data set mp = 444 where expoint = 35426518
update lin2world.dbo.pet_data set meal = 3000 where expoint = 35426518

This change flute to bugle in invetory
Code:

update lin2world.dbo.user_item set item_type = 4422 where item_type = 3500 and enchant >= 55
update lin2world.dbo.user_item set item_type = 4423 where item_type = 3501 and enchant >= 55

This work only if you have original petdata from striders-wyverns rar pack and same IDs in itemdata ..

updated 31.5.205 16;18 - I deleted part about Twilights/Dusk because 1 player report his star strider morf to Dusk . Now its 100% working.

Dont remember to set 4422 and 4423 to trade=0 drop=0 in itemdata

Rikku 31.05.2005 03:18

so I'm guessign these sql quarys I run?

yellowperil 31.05.2005 06:37

solution i used was make the wyvern and strider untradable and undropable, they will still be able to have create 2, but they wont be able to summon one, then give the item to a friend so he can summon one aswell.

Not the perfect fix, but works.

I would warn you players before doing this, as we found that the owners of the items had leant them to other players, then found they could take the item back of them.

Yellowperil

NOTE: if you have the strider wyvern quest, this works ok, but if you are doing it manually it wont work for obvious reason, eg you cant give them the items, well DUH!

Rikku 31.05.2005 07:10

what about this guys mssql patch have you triedf it.. sounds intresting.

rodier 31.05.2005 14:16

yellowperill > but how u give flute to player if its non tradeable / dropable?

My fix is based on trade=0 drop=0 too .. but Im working on solution how to change hatchling to strider.. if I can't as GM in game give player striders flute.

btw > that sql query is 100% working but dont count with Twilights/Dusk.

yes, u must shutdown L2, run this in sql query analyser and then start server.

rodier 31.05.2005 14:29

best solution is.. how to GM can give item that is nontradeable ;-))

or make NPC that request L55 item and give L55 item ;-)
or via multisell if is possible to check level (enchant) of items

rodier 31.05.2005 20:57

l2atl ? I dont have asp ;-(
please can u public myumyu files ? I tried to make it via copy paste and it not working ;-(( ..... complete myumyu files + addon to ai.obj ;-)))

SoaPy 01.06.2005 21:13

hi :D, i have the problem when i mount the strider and try to summon again, dupe strider. I found and ai.obj that maybe found this problem, i didnt test yet but i read that fix this problem.

removed link by me because dont work

Rikku 02.06.2005 14:29

Thanks so much botgod what a great guide.

LDragonL 02.06.2005 19:29

All i get is a giant client crash when i click the transform hatchling button....

nepsquare 03.06.2005 14:46

That's a html issue... I'll post mine soon. Although the trasnform doesn't work...

iamrend 03.06.2005 15:25

my client crash too

johnnym 03.06.2005 20:54

great work botgod l2x dev is very dedicated to the project :) i upped the adena value to 20kk for my players

iamrend 03.06.2005 22:23

any guy can upload full ia.obj


All times are GMT. The time now is 15:25.