antho3000 Posted March 26, 2010 Author Share Posted March 26, 2010 When a player die a server error pop out Link to comment Share on other sites More sharing options...
Admiral Refuge Posted March 26, 2010 Share Posted March 26, 2010 Have you recently added any scripts or altered your OnDeath sub? Link to comment Share on other sites More sharing options...
antho3000 Posted March 26, 2010 Author Share Posted March 26, 2010 No, I never touched that. That happens at the first time I played it whit multiplayers Link to comment Share on other sites More sharing options...
Sputnak Posted March 26, 2010 Share Posted March 26, 2010 I have the same problem. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted March 26, 2010 Share Posted March 26, 2010 I'll move this to the bugs/errors board; hopefully someone has a resolution. Link to comment Share on other sites More sharing options...
Zop Posted March 31, 2010 Share Posted March 31, 2010 Pretty sure this has came up a few times before, could you post your OnDeath sub here please? Link to comment Share on other sites More sharing options...
antho3000 Posted April 3, 2010 Author Share Posted April 3, 2010 where did I find it Link to comment Share on other sites More sharing options...
Nahchito Posted April 3, 2010 Share Posted April 3, 2010 In Server\Scripts\Main.txrt Link to comment Share on other sites More sharing options...
Zop Posted April 3, 2010 Share Posted April 3, 2010 or if ur using ES 1.2 then it'sServer -> scripts -> events -> ondeath.ess Link to comment Share on other sites More sharing options...
antho3000 Posted April 5, 2010 Author Share Posted April 5, 2010 here you got. Link to comment Share on other sites More sharing options...
Zop Posted April 5, 2010 Share Posted April 5, 2010 Yeah, I'm just curious.. But what version of eclipse are you using? This problem seems to pop up every now and then.. and it seems to be the same one >_>replace ur entire onDeath sub with that.The reason ur getting errors is because it's using Target instead of Index >.>```Sub OnDeath(Index) If GetMapBootMap(Index) > 0 Then Call PlayerWarp(Index, GetMapBootMap(Index), GetMapBootX(Index), GetMapBootY(Index)) Else Map = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "Map")) X = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "x")) Y = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "y")) Call PlayerWarp(Index, Map, X, Y) End If Call SetPlayerHP(Index, GetPlayerMaxHP(Index)) Call SetPlayerMP(Index, GetPlayerMaxMP(Index)) Call SetPlayerSP(Index, GetPlayerMaxSP(Index)) Call SendPlayerData(Index) End Sub``` Link to comment Share on other sites More sharing options...
antho3000 Posted April 6, 2010 Author Share Posted April 6, 2010 Thanks it fixed the problem. Link to comment Share on other sites More sharing options...
Godlord Posted April 6, 2010 Share Posted April 6, 2010 @Admiral:> I'll move this to the bugs/errors board; hopefully someone has a resolution.I wonder why this is still considered a bug. People should be using the latest version of my Main, not some of the earliest.Locking this topic as this bug has been fixed a long time ago.Regards, Godlord. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now