Dedicated Server Crash


Chasel
  • Pending

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")

录制_2018_04_19_22_09_13_854.mp4


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")


User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now