• DarkRP 2.4.X
    1,868 replies, posted
[QUOTE=Crypptic;24312161]Could anyone recommend me a better admin module then, please? :)[/QUOTE] ULX. I know people say it's old but the SVN version is updated quite often, it doesn't conflict with DarkRP at all and it does almost anything. Albeit it's a tad more complicated to set up than some of the others.
[QUOTE=Drakehawke;24315238]ULX. I know people say it's old but the SVN version is updated quite often, it doesn't conflict with DarkRP at all and it does almost anything. Albeit it's a tad more complicated to set up than some of the others.[/QUOTE] Yes i am actually using ULX at the moment. Sadly the MOTD won't show up and i couldn't add my college as admin neither. Hehe. Enlightment appreciated.
Anyway to make the gamemode handle better with more players?
How many players do you have? I've seen it run fine with 32, other than how horribly crowded we all were.
Edit some stuff of DarkRP's core, some parts is horrible [editline]10:28PM[/editline] By any chance running the MySQL system?
[QUOTE=erie1555;24320475]Anyway to make the gamemode handle better with more players?[/QUOTE] Remove the ability to spawn props / use certain tools and I think it would handle better. [editline]08:37PM[/editline] Prop limits of 10 usually work well.
Most of the time my server goes up to 35+, running MySQL.
[QUOTE=Crypptic;24319063]Yes i am actually using ULX at the moment. Sadly the MOTD won't show up and i couldn't add my college as admin neither. Hehe. Enlightment appreciated.[/QUOTE] Put your MOTD file in garrysmod/garrysmod. Then in server.cfg put: [code] motdfile "yourmotd.txt" [/code] That should fix it.
Thank you, it did work.
Falco, [url=http://www.facepunch.com/showthread.php?p=24337651]this might interest you.[/url]
In what file is the code for the hud stored in. I want to mess around with it.
[QUOTE=mogey5101;24341796]In what file is the code for the hud stored in. I want to mess around with it.[/QUOTE] cl_init.lua
[QUOTE=erie1555;24321370]Most of the time my server goes up to 35+, running MySQL.[/QUOTE] Well there is your problem! the MySQL system is very inefficient
My god Tobba are you that fucking retarded? [highlight](User was banned for this post ("Flaming" - Benji))[/highlight]
MySQL? Inefficient? Also thanks drakehawke
[QUOTE=Axiom :D;24342904]My god Tobba are you that fucking retarded?[/QUOTE] Thank you for your helpful and informative contribution to this thread. /sarcasm.
[QUOTE=Tobba;24342857]Well there is your problem! the MySQL system is very inefficient[/QUOTE] How would I make it more efficient?
[QUOTE=erie1555;24345296]How would I make it more efficient?[/QUOTE] Either edit loads of data.lua to use 1 table for most of the player functions, or wait for Falco to get back from wherever he's disappeared to now and if he agrees with it, do it himself. I don't know if it will affect things that much to be honest.
I always thought, "Well, what if you loaded all of that data from the mySQL database, then had any reads/writes done only in the memory of the gmod server, then when it's time to shutdown, push any changes to the mySQL server." And of course, every ten minutes or so, push any changes as autosaves to the MySQL server. That could of course be my incompetency of Lua+MySQL talking there. I think MySQL is built for speed and efficiency, so I dunno.
Looking forward to see this trading system!
Well the problem is that the server sends alot of queries, it can bombard the MySQL server with 34 queries at once if you got bad luck [editline]02:47PM[/editline] The SQLite saving is really pretty inefficient too, somehow MySQL gets worse though [editline]02:51PM[/editline] Also if it lags, it might be exsto, i had problems with that before
Anyone who could help me? When players use keys on the streets it looks like a revolver. Is there any way to "holster" it and make it look like they are walking like normal citizens? Pocket looks like he is pointing a gun at someone but there is nothing in his hands, i am sure alot have this problem thanks in advance.
my god.. tobba... retarded... [highlight](User was banned for this post ("Flaming/why reply" - PLing))[/highlight]
Both database methods have been tested and are designed to withstand a large amount of queries at a single time, and even if the data isn't received instantly, because the module isn't threaded, it will just wait to get the data before it proceeds to run the rest of the script. The worst you may endure is a possible delay in receiving data, or if the server crashes for some reason, loss of data altogether, although this is unlikely.
[QUOTE=Eusion;24381632]Both database methods have been tested and are designed to withstand a large amount of queries at a single time, and even if the data isn't received instantly, because the module isn't threaded, it will just wait to get the data before it proceeds to run the rest of the script. The worst you may endure is a possible delay in receiving data, or if the server crashes for some reason, loss of data altogether, although this is unlikely.[/QUOTE] Maybe this is why the server occasionally crashes when someone joins?
[QUOTE=Drakehawke;24382134]Maybe this is why the server occasionally crashes when someone joins?[/QUOTE] At the time Falco implemented the MySQL option, I did recommend that he used a threaded module to prevent this kind of scenario happening, but if we did use a threaded module, the only one available is for Windows only servers I believe, So Linux servers couldn't chose the MySQL option, so instead Falco chose the non-threaded one.
[QUOTE=Eusion;24382632]..and also we'd have to change alot more in the DarkRP database file to support callbacks.[/QUOTE] It does currently use callbacks?
Okay me and some friends are gonna use darkrp as a base for our gamemode i hope you dont mind we will give u lots of credits
Callbacks are currently optional when using the DB.Query function.
[QUOTE=Crypptic;24367810]Anyone who could help me? When players use keys on the streets it looks like a revolver. Is there any way to "holster" it and make it look like they are walking like normal citizens? Pocket looks like he is pointing a gun at someone but there is nothing in his hands, i am sure alot have this problem thanks in advance.[/QUOTE] It seems the only time this happens is if you're looking at [i]yourself[/i] through a camera or etc. (or at least that's how it is for me.)
Sorry, you need to Log In to post a reply to this thread.