Posts: 872
Threads: 25
Joined: Sep 2014
Reputation:
0
It depends on your LoadFactions() execution time. It's not a good idea to do that every second.
But, why would you need to reload factions every second btw?
Posts: 773
Threads: 309
Joined: Aug 2011
Reputation:
0
cause from panel is not connecting well when a leader set aplication to ON or OFF same for level recruting and it needs to restart the server to update the /factions command
Posts: 872
Threads: 25
Joined: Sep 2014
Reputation:
0
You can run a simple query to make a check if faction application is open/closed while player is about to join a faction.
Posts: 773
Threads: 309
Joined: Aug 2011
Reputation:
0
yea but if a leader want to open his application now and no one will join like 2 days and i wont restart the server the applications will stay OFF ...
Posts: 67
Threads: 1
Joined: Aug 2015
Reputation:
0
You i cand use timer every 10 minutes, and get only application status,name,id fields..
Sql: "SELECT id,application_status,leaderid,anyfield_no_fucking _all_with_* FROM factions" and put directly query in mysql_tquery like this: mysql_tquery(handle,"SELECT * FROM etc WHERE Example = 1","CalledOnMysqlHostResponseWithData","");
Posts: 102
Threads: 2
Joined: Apr 2011
Reputation:
0
Please don't revive old topics like that?