
Duvy
Member-
Posts
34 -
Joined
-
Last visited
Duvy's Achievements

Member (4/8)
0
Reputation
-
It would be nice, to have a notification bar, or popup on the homepage, after login, when a ticket is requires the user's attention, or been created newly to a user by an admin.
-
How can i trigger a fastdl sync on installing a mod? I found when i install a mod (copy files to a service), the fastdl sync doesnt run, only works if manualy the button is clicked. Any idea? (Also removing files from fastdl when uninstalling a mod would be delightful, i use shell script deleting all the mod files, i think that might be more tricky)
-
I only need to automatize +1 directory to be accessable through one ftp connection. The gameserver files + web files. Just for that cpanel is a waste of money. If you take a look at the tc_users.app_data, it's where this info is recorded in xml format. It's managable, but would be a lot easier with Api calls.
-
I don't want the whole FastDl structure to be in SQL, only the amount of space it's taken. Only the number on the end: "!UsedSpaceBytes2464822759"
-
I'd like to give webspace for users, but I don't want them to use two different ftp server. A new method to customize Ftp settings through the BillingAPI would be realy useful. It might be useful, to let us chose the owner, or the group of that dir (if it doensnt exist), to make sure it's going to be accessable by the webserver.
-
I'm creating a custom billing system, and it would be nice to know and print how many space the users still have on their fast download (I'm checking all the web+fastdl space and quota from that billing panel) I have found a string in the FastDownload.db: "!UsedSpaceBytes2464822759" Would it be possible to put a plus column to database with the current value of each service? It's not the most convenient way to search it in these files. Or is there any better way to gain that info?
-
As far as i know the Linux Quota system uses Linux users / ldap. Here we have the same userid for all the service files, so in OS level you have only 1 ( or two ) user (The owner of the files). Your clients data are in database, so it's only possible if tcadmin developers implement it, but it's more difficult than the fast-dl sync. My first idea would be a scheduled time, when your server checks everyones disk space. But it would take a lot io process for it. You can make that for yourself without mono, so you gain performance: Write a shell script calculating the usage per clients, and take it to cronjob.
-
Sorry, my bad, I was trying to add server to a user without an existing billing id.
-
I got some trouble, setting up the scripts as well. As i do now: Always Save, the script, and the template, you were editing. ( I edit the main Windows template ) Then open the Linux template of the same game, save it as well, then click update the for the running configs. Now it should be applied for the new, and the running ones. If not, try after restarting tcadmin. Btw. you're doing well by taking care of your firewall, i cannot even imagine how could an IT service provider not use firewall. You are responsible the data, you're generating, and you're devices are just up for everyone without limitations. That's the reason why DDOS exists, with lot's of zombie machines. If everybody had proper firewall and security options, we weren't talking about defending ddos attacks.
- 14 replies
-
- custom script
- firewall
-
(and 3 more)
Tagged with:
-
Well it's strange. I'm talking about 2 Samp servers: I have "A" user, with a server who is disabled, and his disabled server, it was on the 7777 port. And a "B" existing user, with a running server, that should be on the 7807 port. I search for the A user's server, if it's running, nothing "ps -A -f |grep yamuuh", but then i got this: # lsof -i:7777 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME samp03svr 22572 tcagame 4u IPv4 258271875 0t0 UDP *:7777 samp03svr 23822 tcagame 4u IPv4 227573655 0t0 UDP *:7777 For the second user: lsof -i:7807 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME samp03svr 16008 tcagame 4u IPv4 274523431 0t0 UDP opx.hu:7807 ps -A -f |grep whiteblue9115 tcagame 16008 4319 0 May26 ? 03:51:21 /home/tcagame/whiteblue9115/58/samp03svr tcagame 22572 4319 0 May25 ? 03:56:58 /home/tcagame/whiteblue9115/58/samp03svr tcagame 23822 4319 0 May22 ? 04:05:32 /home/tcagame/whiteblue9115/58/samp03svr The B user, who's server supposed to be running on the 7807 port, took the default 7777 port somehow, and his server is listening on both ports. In the B user's config file: port 7807 But as for the live stat's, It's not keep refreshing, it was my bad, It's just stuck in there, with the original A users's last stats. If i delete the row, it's not coming back.
-
I disabled a service, the owner as well, and in SQL it keeps refreshing in the live stat, with the last stats. Like 2 players are online.
-
It would be nice, to add an option, to insert new custom menu items with custom hyperlinks, to the existing menubar. I would insert a link, to the billing page, for now i could insert to the header of the page, since, it's customizable. But it would be nice, to have it (or more of them ) in a seperate menupoint, like "Userful links".
-
SQL Query: SELECT SUM(players) FROM tc_game_service_live_stats
-
I created scripts for starting, and stopping the services, to open, and close ports automatically. I have an issue, when the service is exiting with error, for eg, the user uploaded bad mod, or bad config, or something like that, the starting script runs, but the stopping never runs, and that creates realy much entries in the iptables. I dropped the idea, to run the scripts on create/delete, becouse in case of reboot, or something, the firewall rules wouldn't set up properly. Can you suggest a way, to solve this? And another thing i observed, is the scripts sometimes just refuse to run, I restart the tcadmin, and the same script runs well, on the same action. (That was on the mono, with high cpu usage, now with the newly compiled, i didnt have the time, to look after it).
-
Is there a way, i can set a sub-admin only to see one/more type of games? Eg. a Cod 4 sub admin, who can see all the cod4s, and make changes on them. Or to only allow one specified server to the subadmin, so he can investigate one problem, then i could revoke the server from him? I was watching the roles, but i didn't find that.