Claim Times on New Version

Place for sharing your game modifications for Life is Feudal: Your Own

Sanctifiedevil
 
Posts: 12
Joined: 22 Dec 2014, 07:37

Claim Times on New Version

Post by Sanctifiedevil » 21 Nov 2015, 15:42

I went to edit the claim times for my server as usual. Through the database and change the patch.sql so it doesn't overwrite my DB change, then I noticed that this is no longer being controlled in patch.sql. So, everytime the script run its overwriting my changes.

I'm aware I can just remove the SQL file and this won't happen, but this also means I would have to re-edit the DB every time a new patch is dropped. Did they move this functionality to a compiled script so we couldn't change it or am I just overlooking it?

User avatar
Cattoaster
 
Posts: 110
Joined: 03 Nov 2014, 16:13
Location: Medieval Germany

Re: Claim Times on New Version

Post by Cattoaster » 22 Nov 2015, 11:05

You can find this in dump.sql - same dir location as patch.sql


Brunoag
True Believer
 
Posts: 1
Joined: 26 Sep 2014, 12:46

Re: Claim Times on New Version

Post by Brunoag » 08 Dec 2015, 10:59

Hello, I was cheking my DB table objects_types and this field type is INT max 255.. its weird because its description is saying it should be on seconds..
Is this correct? How can I change Claim Tines on new version?
Thanks

User avatar
Cattoaster
 
Posts: 110
Joined: 03 Nov 2014, 16:13
Location: Medieval Germany

Re: Claim Times on New Version

Post by Cattoaster » 08 Dec 2015, 11:29

This INT(255) is a mysql data type used for this field. If it is unsigned it has a range from 0 up to 4.294.967.295

And because this field is used for the claim time in seconds you can edit or modfiy all values as you desire as long aas you keep in mind that all values should be read as seconds.

example:
Default owner timeout of a large warehouse is 86000. This means 86000 seconds or 24 hours, one day.

User avatar
HolyCrusader
Beta Tester
 
Posts: 251
Joined: 24 Nov 2014, 15:47

Re: Claim Times on New Version

Post by HolyCrusader » 08 Dec 2015, 19:17

Brunoag wrote:Hello, I was cheking my DB table objects_types and this field type is INT max 255.. its weird because its description is saying it should be on seconds..
Is this correct? How can I change Claim Tines on new version?
Thanks

I think the claim timers should be updated in either the patch.sql or new.sql files (I forget which one off the top of my head), otherwise once the server restarts it will revert to previous claim times

User avatar
Cattoaster
 
Posts: 110
Joined: 03 Nov 2014, 16:13
Location: Medieval Germany

Re: Claim Times on New Version

Post by Cattoaster » 09 Dec 2015, 00:03

Nope,... it should be updated in the dump.sql (see 3 post above)


Durgrim
 
Posts: 42
Joined: 24 Nov 2015, 19:51

Re: Claim Times on New Version

Post by Durgrim » 09 Dec 2015, 19:57

offtopic:
where can i find the radius of the guild monuments?
cuz T4 gives only 75 atm.

Can i change these?


secondly, where can i reduce the trees of the island? :D
Image

Return to Game mods