Page 5 of 7
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Nov 07, 2016 9:01 pm
by binbinhfr
> Some of your answers seems very obvious for you if i feel your correct tone but i never used a mod in Factorio nor read the API already, sorry i'm a newbie so.
feel free to ask questions. I have several other useful or funny mods :
https://mods.factorio.com/?q=binbinhfr
> Thank you for taking the time to answer
pas de problème !

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Nov 07, 2016 11:53 pm
by Nave0244
Thank u thank u thank u so much for this amazing mod. I really appreciate and understand all the work u must have put into it

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Tue Nov 08, 2016 8:27 am
by binbinhfr
Nave0244 wrote:Thank u thank u thank u so much for this amazing mod. I really appreciate and understand all the work u must have put into it

Thanks guy ! It's always a pleasure to read such feedback

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Wed Nov 30, 2016 6:55 pm
by waazaa
I have a dedicated server running your mod SpaceBook:
viewtopic.php?f=53&t=37996
If you remember i asked you questions about the use of SpaceBook on an already created and structured map. Now this is an open public server with fresh map and your mod to see how fun it is.
Don't hesitate to join us !
@binbinhfr
Thanks again
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Fri Dec 23, 2016 7:34 pm
by primedead
We are now using this on an Arumba mass multiplayer server. When we open the mod for the first time it takes a while to load (maybe a thing to put in while loading the map). We also changed the config to make new players join the player force. That part worked fine but they still had some things guests wouldn't be able to do (the admins got the same problem). The inventory stayed big and we couldn't start research. We deleted the lines that added that limit for the guests and it now is really stable (apart from the long loading the first time). Great work we love your mod!!
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Sat Dec 24, 2016 10:11 am
by binbinhfr
Hi primedead,
I do not understand this "long loading time". I checked again my code, and it do not compute anything cpu-stressing at any time, so I guess this long load time do not come from SpaceBook. Can you give me a list of all your mods ?
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Sat Dec 24, 2016 11:19 pm
by primedead
We found something which crashed the server. If we selected something with the spacebook tool with a size of 0 the server would crash. We use these mods: add-loader, angelsinfiniteores, angelspetrochem, angelsrefining, angelstrigger, autodeconstruct, autofill, auto-research, bob's mods (all of them), bottleneck, bullet-trails, burnerleech, charcoalburner, color-coding, copyassemblerpipedirection, crafting_speed_research, enhanced_map_colors, FARL, foreman, itemcount, larger inventory, laser_beam_turrets, lateupgrades, lightweightinvsort, long-reach-research, nanobots, pickerextended, quickug, railtanker, researchrevolution, rso-mod, shinybobs(not on modportal made by nexela), smallfixes, spacebook, squeak through, stickynotes, tree_collision, undecorator, upgrade-planner and warehousing. This is a link:
https://drive.google.com/file/d/0B1vR0_ ... sp=sharing .
Nexela is also on our server.
We are using the mod as a moderator tool instead of the pvp aspect of the mod (if that helps).
The long loading time takes place when I open it for the first time on any server with any amount of people(also new maps) (maybe because it takes time to initialise).
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Sun Dec 25, 2016 10:09 am
by binbinhfr
Hi,
I made some changes.
I tried to correct the spacebook tool bug.
And also try to do my best to avoid to many testing when several users are initiating at the same time.
Please update and test.
I have problem on my side to do development testings, because Factorio do not allowed multiple instance of the game running on the same machine as before. I made a request here :
viewtopic.php?f=34&t=38989 . But I suppose it's a feature to avoid piracy.
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Sun Dec 25, 2016 7:09 pm
by primedead
You can run multiple instances if you use 2 zipped installs instead of the .Exe ones. We have reported multiple bugs if you need stress testing we are probably able to provide it. Just ask

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Sun Dec 25, 2016 8:03 pm
by binbinhfr
primedead wrote:You can run multiple instances if you use 2 zipped installs instead of the .Exe ones. We have reported multiple bugs if you need stress testing we are probably able to provide it. Just ask

No problem.My server settings needed some changes but now it works.
So I made testings, and I did not find out any problem.
Did you try the last version I posted on the portal ?
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Dec 26, 2016 3:02 am
by primedead
yes I did I'm using it right now. We still have the same thing where it drops you from the game and then opens if you use it for the first time. I also didn't see a fix for the problem where we changed the config and it still used some guest permissions (the 3 lines of code for research and inventory). So I deleted that again.
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Tue Jan 03, 2017 3:44 pm
by Jalleo
We are now getting a crash of some sort on the Arumba community bobs mods.
Here is a link of the current version of the modpack of which has been experiencing the crash. At least me and one other person can confirm this.
drive.google.com/open?id=0B-MW8lqMFwdRY3Ewa2E4YUt4UkU
And here is the image of the error that occurs when we try to join.

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Tue Jan 03, 2017 4:27 pm
by binbinhfr
Hi,
this error is very weird to me. When I look at the lines that are involved, I do not see any relation between the last 2 lines ...
anyway, I tried to add a check in line 819, please tell me if it works better, because this error is quite mysterious to me...
Note : I also included the changes with the "guest" force that you added in your version.
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Tue Jan 03, 2017 4:57 pm
by primedead
Thank you for your quick response and quick fixes. I will update the mod. We have run 3 games with spacebook now and this is the first time we got this kind of error so it is hard to try to reproduce it. I updated the mod and the config now works and the save game which had that problem and we thought was corrupted works again. I think the problem is fixed now.
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Tue Jan 03, 2017 5:52 pm
by binbinhfr
great ! I am glad that you can play again. have fun

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Jan 09, 2017 6:53 pm
by Riddler76
Hi guys !
Really nice Mod
I have a problem with it :/ When a player disconnect the server crash.
Code: Select all
269.098 Info ServerMultiplayerManager.cpp:822: Disconnect notification for peer (1)
269.098 Info ServerMultiplayerManager.cpp:742: mapTick(176251) received stateChanged peerID(1) oldState(InGame) newState(DisconnectScheduled)
269.100 Error MainLoop.cpp:788: Exception at tick 176251: Error while running event on_player_left_game (ID 44)
__SpaceBook__/control.lua:1573: attempt to index local 'player' (a nil value)
269.100 Error ServerMultiplayerManager.cpp:93: MultiplayerManager failed: "Error while running event on_player_left_game (ID 44)
__SpaceBook__/control.lua:1573: attempt to index local 'player' (a nil value)"
269.100 Info ServerMultiplayerManager.cpp:658: mapTick(176251) changing state from(InGame) to(Failed)
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Jan 09, 2017 7:21 pm
by binbinhfr
Hi,
I have problem to figure out why it is crashing...
could you test commenting the line 1573 in control.lua, and tell me if it's better ?
like this :
Code: Select all
--------------------------------------------------------------------------------------
local function on_player_left_game(event)
local player = game.players[event.player_index]
--debug_print( "player left ", player.name )
update_nb_players_force()
update_windows(refr.all_inside)
end
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Jan 09, 2017 8:22 pm
by Riddler76
Nice

i try it
Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Jan 09, 2017 9:29 pm
by Riddler76
It's Ok guy

Re: [MOD 0.13] SpaceBook - a multiplayer / PvP / RP manager
Posted: Mon Jan 09, 2017 10:25 pm
by binbinhfr
Riddler76 wrote:It's Ok guy

OK, I still do not understand why it crashed here, but well, I updated to a new version on the portal.