Anonymous | Login | Signup for a new account | 26-12-24 23:36 CET |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0002042 | SphereServer | executable - windows build | public | 25-09-11 17:41 | 15-12-13 22:15 | |
Reporter | Terrikate | |||||
Assigned To | Ben | |||||
Priority | normal | Severity | major | Reproducibility | always | |
Status | resolved | Resolution | fixed | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | 0.56c Nightly | ||||
Summary | 0002042: Pets mounted disappear after a save and restart | |||||
Description | http://www.sphereserver.net/index.php?/topic/48709-gc-and-mounts/ [^] http://www.sphereserver.net/index.php?/topic/41265-mount-erase-on-save/page__p__191976__hl__mount__fromsearch__1 [^] | |||||
Steps To Reproduce | - Your pet attacks a NPC - You ride on your pet - The NPC dies before a saved - Your pet still has memories of combat - The server makes a save - Restart the server - After connecting your mount will be gone | |||||
Tags | No tags attached. | |||||
Nightly Version | Automated (specify build number) | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | 1495 | |||||
Attached Files | ||||||
Notes | |
(0001325) Shaklaban (developer) 09-07-12 07:18 edited on: 09-07-12 07:19 |
additional info: shrinked pets also disappearing. non-mount npcs which is shrinked can be disappearing with the same error. example error: 22:59:ERROR:UID=033f5b9, id=063ab 'Biz Geldik Lutfen Kacmayin ', Invalid code=1203 (Ridden NPC not acting as such) 22:59:ERROR:GC: Object memory leak 175640!=175639 i try to remove flags and memories from the npc but not helps. |
(0001326) Terrikate (developer) 09-07-12 23:53 |
Finally I had to do a workaround... When I make a save I see that all players (online and offline) that are on a mount (FINDLAYER.25) and if in that LAYER contains an MORE2 aiming to NPC nonexistent... means that the pet will be cleared on the next reboot. So I delete the NPC, create other and force the player to ride it. If you need help with it let me know and look for the script. |
(0001330) Terrikate (developer) 20-07-12 02:26 edited on: 20-07-12 02:27 |
This is the script. I reduced it by removing things from my server and I translated it, if something fails me know. Greetings. sphere_serv_triggers.scp [FUNCTION f_onserver_save] ALLPLAYERS F_PETS_RECREATE Anywhere.scp [FUNCTION F_PETS_RECREATE] REF1=<FINDLAYER.25> IF (<REF1>) // player rides a pet REF2=<FINDLAYER.25.MORE2> IF (!<REF2>) // pet will be deleted on the next restart, not exist in the world // create new pet SERV.NEWNPC <REF1.MORE1> NEW.P=
|
(0001331) Terrikate (developer) 20-07-12 02:28 |
NEW.P= P // Fix that, take it as html |
(0001388) Terrikate (developer) 23-09-12 19:40 |
I can not reproduce the problem with the latest versions Nightly. I'll try in previous versions to do exactly the same. Shaklaban if you get it on the latest versions let me know and show me step by step what you do. Let's see if we get something clear... |
(0001394) Shaklaban (developer) 25-09-12 18:53 edited on: 25-09-12 18:55 |
i can't reproduce this in april 2012 build in the past. it occurs randomly and rare. by the way if you need to test here is the april build http://stones.gen.tr/SphereSvr.rar [^] i put under @mount argo.action=-1 argo.removeallmemories //generic function from scp while findid.i_memory remove argo.flags &= ~statf_war |
(0001852) Ben (manager) 15-12-13 22:15 |
This doesn't seem to be an issue anymore... closing |
Issue History | |||
Date Modified | Username | Field | Change |
25-09-11 17:41 | Terrikate | New Issue | |
06-07-12 23:08 | AnarchCassius | Issue Monitored: AnarchCassius | |
09-07-12 07:15 | Shaklaban | Issue Monitored: Shaklaban | |
09-07-12 07:18 | Shaklaban | Note Added: 0001325 | |
09-07-12 07:19 | Shaklaban | Note Edited: 0001325 | View Revisions |
09-07-12 23:53 | Terrikate | Note Added: 0001326 | |
20-07-12 02:26 | Terrikate | Note Added: 0001330 | |
20-07-12 02:26 | Terrikate | Note Edited: 0001330 | View Revisions |
20-07-12 02:26 | Terrikate | Note Edited: 0001330 | View Revisions |
20-07-12 02:27 | Terrikate | Note Edited: 0001330 | View Revisions |
20-07-12 02:28 | Terrikate | Note Added: 0001331 | |
17-09-12 20:37 | Terrikate | Assigned To | => Terrikate |
17-09-12 20:37 | Terrikate | Status | new => assigned |
23-09-12 19:40 | Terrikate | Note Added: 0001388 | |
23-09-12 19:41 | Terrikate | Status | assigned => feedback |
25-09-12 18:53 | Shaklaban | Note Added: 0001394 | |
25-09-12 18:54 | Shaklaban | Note Edited: 0001394 | View Revisions |
25-09-12 18:55 | Shaklaban | Note Edited: 0001394 | View Revisions |
25-09-12 18:55 | Shaklaban | Note Edited: 0001394 | View Revisions |
15-12-13 22:15 | Ben | Note Added: 0001852 | |
15-12-13 22:15 | Ben | Status | feedback => resolved |
15-12-13 22:15 | Ben | Fixed in Version | => 0.56c Nightly |
15-12-13 22:15 | Ben | Resolution | open => fixed |
15-12-13 22:15 | Ben | Assigned To | Terrikate => Ben |
Copyright © 2000 - 2010 MantisBT Group |