I write some mods which are using a lot of RPC
My mods is most like Client/Server Structure,so Client mod register RPC with empty function, Server register same RPC with real function,so that the client mod can send RPC and server mod handle RPC
I found the reason why server crash without log :
I define a new table and create a net_string....
player.netevent = {}
player.netevent._refreshmails = GLOBAL.net_string(player.GUID, "player.netevent._refreshmails", "netevent_refreshmails")
and in another file i define a new table with same name...... so the old table vanished
player.netevent = {}
player.netevent._refreshguilds = GLOBAL.net_string(player.GUID, "player.netevent._refreshguilds", "netevent_refreshguilds")
Steps to Reproduce
I define a new table and create a net_string.... player.netevent = {} player.netevent._refreshmails = GLOBAL.net_string(player.GUID, "player.netevent._refreshmails", "netevent_refreshmails") and in another file i define a new table with same name...... so the old table vanished player.netevent = {} player.netevent._refreshguilds = GLOBAL.net_string(player.GUID, "player.netevent._refreshguilds", "netevent_refreshguilds")
I define a new table and create a net_string.... player.netevent = {} player.netevent._refreshmails = GLOBAL.net_string(player.GUID, "player.netevent._refreshmails", "netevent_refreshmails") and in another file i define a new table with same name...... so the old table vanished player.netevent = {} player.netevent._refreshguilds = GLOBAL.net_string(player.GUID, "player.netevent._refreshguilds", "netevent_refreshguilds")
There are no comments to display.
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