fougerite / Fougerite

Fougerite Project is unofficial fork of Magma. Forked to develop it with community.
http://fougerite.com/
Other
4 stars 19 forks source link

Error while applying ItemsLoadedPatch. #1

Closed dretax closed 10 years ago

dretax commented 10 years ago

Hey. I have this problem: http://dretaxmc.eu/dretaxscreen/2014-06-25_2128.png Whats wrong?

dretax commented 10 years ago

Oops, i realised that i should be using the original assembly dll. http://dretaxmc.eu/dretaxscreen/2014-06-26_0000.png

That is what i got. I'm using the June 01's rust server

Riketta commented 10 years ago

May you upload for me your clear assembly and patched?

dretax commented 10 years ago

Second

Edit: https://dl.dropboxusercontent.com/u/136953717/Stuff.rar

Riketta commented 10 years ago

Are you using build from "releases"?

Riketta commented 10 years ago

Try it: https://github.com/Riketta/Rust-Zumwalt/releases/tag/v1.0.1

dretax commented 10 years ago

Thank you! Lemme check.

dretax commented 10 years ago

Working good, well most of it. My HomeSystem for somereason doesn't want to teleport me to the place. No errors, other plugins are working like DeathMsg and Fpsboots, things like that. Any clue why?

Riketta commented 10 years ago

Is that plugin working on clear server? You may add to the plugin your personal loging system and look what is wrong. Like that: In On_PluginInit: _Plugin.Log("TestLog", "OnPluginInit start"); and in the end of function _Plugin.Log("TestLog", "OnPluginInit end");. If you find this in log - it work well. And then check other functions.

dretax commented 10 years ago

Negative.

This was the problem.

function FindPlayer(id) { var player = Magma.Player.FindBySteamID(id); --> var player = Zumwalt.Player.FindBySteamID(id); if (player != null) { return player; } return null; }

Warn the users about this. U renamed the Magma class to Zumwalt, and most of the plugins wont work like that.

Riketta commented 10 years ago

omg, thanks for report!

dretax commented 10 years ago

Np. For that i give u this. xD http://dretaxmc.eu/dretaxscreen/2014-06-26_1552.png

Also, how can u reload zumwalt, instead of using magma.reload? It seems like that doesnt work.

Riketta commented 10 years ago

I think it's not Zumwalt bug. I google for it and found a lot of threads about that bug. =)

This is likely to blame for the plugin.

dretax commented 10 years ago

I see. I haven't seen that yet, i thought i just send it. Anyway, thanks.

And how can u reload zumwalt? Or u havent invented that console cmd yet