It's going to be a complicated script because of the checks that need to be done.
1. get a list of all the UM toons that died and need to be res'd
2. For each toon:
a. Check name to make sure it wasn't taken while dead
b. Check for available slots under user to res the toon to.
c. then your going to have to change the following in Char table:
A. Del to 0
B. Change the Map and X,Z to a safe spot depending on country
C. Change the char slot to an available slot under that user.
Actually that's not all. You need to check also for:
- whether it was the only character the player had,
- if so check what country it belonged to and set it in PS_GameData.dbo.UserMaxGrow table so player won't get the screen to choose faction, oh and you can do a silly bug this way by having a i.e. AoL character on UoF side.
- then check whether that character was in guild, if yes check which guild it was, check for guild leadership, return it to guild, correct MemberCount.
- you can set safe zone as Map 0. It's D-Water. The coordinates are irrelevant since player will spawn in own faction fortress.
- adding to what lilpro wrote. You also need to check whether player requested that character to be deleted or not. Otherwise you will restore a lot of useless toons.
I have a working UM Restore script written in PHP. Can't make it public sorry. it's for Kingdom.
Actually it'd be easier to write it in SQL as a procedure than PHP. The difficulty lies in checking for free slots. There's a built in function in PHP that does it for you, but I can't find one in SMSE. Writing it by myself proved itself to be difficult.
Btw, I might release the script at some point. Kingdom is closed. For now, members of my group can have a look at it.
I do made a php script, its not online yet but is working like a charm just need a little test to make sure that its 100% bug free.
It make able our players to resurrect their own toons without involve any GM's
[RELEASE] Auto-Leader Resurrect CT file 02/05/2024 - Shaiya Hacks, Bots, Cheats & Exploits - 59 Replies I'm releasing a CT file that makes it so you automatically Leader resurrect. For the US and German client only.
You need to use Cheat Engine to use this file. Click Here to download.
Update: I've made a German version also. It's included in the rar file.
[Request] Script or info on auto restoring UM's 10/14/2010 - Shaiya Private Server - 8 Replies I am trying to see if there is a way to automate the process of restoring dead UM's after maintenance.
It gets confusing trying to sort through wich ones were dead because of no res rune and wich ones were deleted on purpose.
Also is there a way to remove all the previously deleted toons from the database automatically to clean up database and save space?:rolleyes:
Resurrect pet when dead 01/27/2010 - Lineage 2 - 3 Replies Hi.
I have a problem, my IG Walker 2.16 doesn't resurrect my pet when it dies, it doesn't even try, neither with skill or scroll. I know about the Auto Accept Live and the Names settings.
Anyone knows a workaround for this?
Tried making a script, but afaik it's impossible to make a script check pet's status?
resurrect at the present point tool 12/13/2008 - Silkroad Online - 5 Replies hi
before i start i want to say sorry for my english
im looking for tool witch can accept resurrect at the present point thats for my reser lvl 10
so i got 2 chars noob (farmer) and lvl 10 resser when farmer die (aoe thief or lured ond) i can res him by my lvl 10 resser (to auto res im use nubecoder 5000 tool)
but when they die both i can do nothing, and now i need some tool to accept resurrect at the present point when resser die too, then when resser up still can res farmer
instant resurrect 03/06/2007 - WoW Exploits, Hacks, Tools & Macros - 18 Replies hey, einfach wenn ihr in ner instanz sterbt ausloggen
bei ~ 1,5 sekunden auf leiche freilassen klicken und EVT bei der leiche sein wenn ihr wieder einloggt
funzt mit ner menge uebung eig. immer
when you die in an instance, logout
when the timer is at ~ 1,5 seconds, press "release spirit" and maybe you are at your corpse when you login again
get some training and it works like any time
best for instanzes :D