Try removing everything else from OnInit except
m_adminTool = new AdminTool(this);
m_adminTool.Init();
The init method inside AdminTool already loads the admins from the Admins.txt file. Also, check the path variable (m_AdminListPath) inside AdminTool.c and make sure that it matches the path...
My bad, it's the OnInit method in your MissionServer implementation. So for example:
class CustomMission : MissionServer
{
override void OnInit()
{
}
}
Got this to work. I'll post the files soon.
AdminTool.c
Add this to the same directory where init.c is located, unless you want to change the path when importing AdminTool.c to init.c.
Create a file called Admin.txt in the same directory as AdminTool.c and init.c. Add your IDs the same way as...
So im trying to check a variable that is defined in the server.pbo and checked in the mission folder.
server.pbo:
myGlobalVar = true;
Mission folder:
If(myGlobalVar) then{};
But the rpt says that the variable is undefined.
Does anyone know what im doing wrong?
It wont corrupt the original server but you cant run 2 DBs on the same port. So you need to run the DB on another port too and then change the hiveext.ini settings. Just google like"how to change mysql server port".
Hosting companies like dayz.st run up to 10 dayz servers per dedi box and...
Well in that case you need to run them at different ports. You can change the port in the launch params. And i think you should be able to use the same db on both servers.
I think BEC can kick people that types russian chars. To remove the animation on weapon swithing can be impossible because i think its hard-coded in the engine.
Child:999 only works on reality i think. You can of course use the custom_loadout table and get the information from there, but again that would not work with pwnoz0rs server package. I have a working PHP script for paypal but paypals API is really hard to use.
Okay, im working on a script that automaticly sets up a donator menu when the payment is conpleted. I would use the paypal API to get the uid of the player, and then insert it to a database table. When the player logs in a script would make a query and check if the player is a donator.
I am hosting with dayz.st, and on 40+ players the server stays pretty solid. One thing that i've noticed is to not have too many scripts writing into rpt. Also running alot of serverside scripts can cause huge lag. I spawn buildings from the server file to reduce traffic with the DB. And one...
Cant seem to get it to work. No errors but i made diag_log("MERG: " + str(_resultArray)); to test it but it doesn't write it in the log. Thanks anyways
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.