Jab Posted January 14, 2015 Share Posted January 14, 2015 The firespread fix for the servers was done using a java modification. I would like to release that content in the form of .class files (logically), however, it is not that simple. I would need permission to release those compiled files as they are a part of the core of the game. I'm making this post because a lot of people are asking about it. If people want this, and PZ Devs allow me to at least post the modified .class files, then I'll be happy to do so, and update the mod as well. Until then, I am not releasing the fix. miked79 1 Link to comment Share on other sites More sharing options...
Brybry Posted January 14, 2015 Share Posted January 14, 2015 A way to do this with lua (tested it for about 5 minutes, seemed to work great):function DisableFireSpread(fire) fire:getClass():getField("SpreadTimer"):setInt(fire,0);endEvents.OnNewFire.Add(DisableFireSpread);I have a way to do server-side lua mods that don't break checksum or require modification of java classes but it uses reflection on the gameserver object so I'm not sure if I should publish that. Link to comment Share on other sites More sharing options...
Jab Posted January 14, 2015 Author Share Posted January 14, 2015 A way to do this with lua (tested it for about 5 minutes, seemed to work great):function DisableFireSpread(fire) fire:getClass():getField("SpreadTimer"):setInt(fire,0);endEvents.OnNewFire.Add(DisableFireSpread);I have a way to do server-side lua mods that don't break checksum or require modification of java classes but it uses reflection on the gameserver object so I'm not sure if I should publish that. The script will stop spreading, however, the building or whatever tile that fire is on will burn. the fix i did accessed methods not accessable / preventable to keep the fire from damaging structures as well. Link to comment Share on other sites More sharing options...
ModdedTibby Posted January 14, 2015 Share Posted January 14, 2015 they would be crazy not to allow this to be released Link to comment Share on other sites More sharing options...
miked79 Posted January 14, 2015 Share Posted January 14, 2015 I would love no fire spread!! Its the main reason I dont let anyone but my friends on my server. Cuz ppl just like to burn stuff down. Believe me I like fire and its fun to trap zombies in a house and burn them. But most ppl just like to torch the city. Displeases me. Link to comment Share on other sites More sharing options...
Jab Posted January 15, 2015 Author Share Posted January 15, 2015 added some quick commands for removing active fires "/extinguish" and active corpse removal "/removecorpses". Im hoping fire commands and corpse decay / removal will be a thing eventually. Link to comment Share on other sites More sharing options...
Omegapl Posted January 16, 2015 Share Posted January 16, 2015 "You are allowed to edit the game in any way, providing you do not edit it in such a way that it is either intentionally damaging to people's PCs, or removes the login system and enables people to play the game without purchasing." - From rules of modding in this section of forum. So I think you are allowed to release your fix even if it modifies java files. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 16, 2015 Share Posted January 16, 2015 You'll find a more restrictive license shipping with the game right now, due to a certain Russian individual that attempted to extort the game's code from the devs, then threatened to steal the game's code and release it. Until the conflicts are resolved between the two licenses, this is a bit of a grey area. Link to comment Share on other sites More sharing options...
lemmy101 Posted January 16, 2015 Share Posted January 16, 2015 It's fine you have specific permission to do this if you'd like We'll try get the fix in the main game if appropriate, can't say I'm familiar with the fire spread issue since I'm in NPC land 24-7 these days. EDIT: Oh I get it its a no fire spread mod to protect servers from arsonists, right? Link to comment Share on other sites More sharing options...
RobertJohnson Posted January 16, 2015 Share Posted January 16, 2015 I could add that to a server options, already added a "NoSpawnItem" option if you want to non spawn certain item (mostly sledgehammer, to avoid heavy destruction ) Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 16, 2015 Share Posted January 16, 2015 I could add that to a server options, already added a "NoSpawnItem" option if you want to non spawn certain item (mostly sledgehammer, to avoid heavy destruction )And well you're at it . . . a certain fire-management mod . . . Firemanager still doesn't seem to sync with client; fire will magically spread after being put out. Link to comment Share on other sites More sharing options...
Jab Posted January 16, 2015 Author Share Posted January 16, 2015 Ok. I'll make a new thread for it in the meantime with info and what not. 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