[QUOTE=FPtje;22630952][lua]Made MySQL Linux compatible (I think, tell me if I'm wrong, please test this)
Optimized SQL performance
Fixed minor mistake that no one really noticed :P
[/lua]
Darksoul, do you reckon this would work on a Linux server? (I don't have a Linux server myself so I can't test it)
[lua]if file.Exists("../lua/includes/modules/gmsv_mysqloo.dll") or file.Exists("../lua/includes/modules/gmsv_mysqloo_i486.dll") then...[/lua]
[editline]02:22PM[/editline]
DarkRP already uses cache, In the latest SVN update it first checks the cache for data, if the data is there the Query will never be executed. If it isn't, the query is executed and the data is put in the cache.[/QUOTE]
Ok, I wasn't really sure if it was directly connecting to the mysql server or not since I noticed 3-4 seconds delay after typing /moneydrop amount for the money to actually show up.
Testing the latest SVN now.
The 3-4 seconds delay is not because the server is accessing the database. It has to do with the animations. You grab the money from your pocket and then you drop it. The same happens when giving someone money. The delay was put there on purpose. Otherwise you would first drop the money and then grab it out of your pocket :v:
Is the SVN down?.
[editline]05:41AM[/editline]
[QUOTE=FPtje;22631183]The 3-4 seconds delay is not because the server is accessing the database. It has to do with the animations. You grab the money from your pocket and then you drop it. The same happens when giving someone money. The delay was put there on purpose. Otherwise you would first drop the money and then grab it out of your pocket :v:[/QUOTE]
Ah... I see. My bad, I just started messing with DarkRP again after around four months.
Edit: Finally got the SVN to download, really testing now.
[editline]05:47AM[/editline]
Edit2: Works fine.
[QUOTE=darksoul69;22630697]I'm assuming you're talking about your host?. Who is your host?.[/QUOTE]
[url]www.xenonservers.com[/url]
It's k though, they're nice people and will probably do it if I ask =]
I don't care what people say, with the right administration, DarkRP is pretty useful.
I hope this is the right place to ask.
I've got DarkRP running on one of my servers (we're using Linux binaries, if it matters) and the only way the gamemode runs, is if i add the following to the command line. If they are no added, it runs sandbox.
+sv_defaultgamemode DarkRP +sv_gamemode DarkRP
I do have "sv_defaultgamemode"DarkRP in the server.cfg
But once those 2 commands are in the command line, the gamemode runs. Only issue is, we spawn inside a building, and the scoreboard doesn't work.
[IMG]http://i49.tinypic.com/14o4u4i.jpg[/IMG]
[IMG]http://i49.tinypic.com/16a5g6x.jpg[/IMG]
Thanks, to anyone that can help.
You have probably edited shared.lua. If there are errors in shared.lua, you will see things like that.
also look for errors in both the server and the client console.
[QUOTE=FPtje;22654101]You have probably edited shared.lua. If there are errors in shared.lua, you will see things like that.
also look for errors in both the server and the client console.[/QUOTE]
I haven't edited anything as of yet.
Upon joining the server, this is what i get in the client console.
[code]
DarkRP
Map: RP_Downtown_v2
Players: 1 / 24
Build: 3740
Server Number: 1
No pure server whitelist. sv_pure = 0
SOLID_VPHYSICS static prop with no vphysics model! (models/props_lab/corkboard001.mdl)
Not deleting directory cache/dua/ (directory is locked)
Decompressing data pack into virtual file system..
Data pack loaded: 441 files. (0.869s)
Lua initialized (Lua 5.1)
Ignoring autorun\kitty_npc.lua because SE is on and it's not in the VFS
Ignoring autorun\pills_autorun.lua because SE is on and it's not in the VFS
Ignoring autorun\dod_playermodels.lua because SE is on and it's not in the VFS
Ignoring autorun\ep2_entities.lua because SE is on and it's not in the VFS
Ignoring autorun\ep2_npcs.lua because SE is on and it's not in the VFS
Ignoring autorun\ep2_playermodels.lua because SE is on and it's not in the VFS
Ignoring autorun\ep2_vehicles.lua because SE is on and it's not in the VFS
Ignoring autorun\Serialiser.lua because SE is on and it's not in the VFS
Ignoring autorun\sh_CatmullRomCams.lua because SE is on and it's not in the VFS
Ignoring autorun\District9_Vehicles.lua because SE is on and it's not in the VFS
Ignoring autorun\District9_Vehicles_turret.lua because SE is on and it's not in the VFS
Ignoring autorun\laserlib.lua because SE is on and it's not in the VFS
Ignoring autorun\StriderStuff.lua because SE is on and it's not in the VFS
Ignoring autorun\phx_content.lua because SE is on and it's not in the VFS
Ignoring autorun\phx_svn.lua because SE is on and it's not in the VFS
Ignoring autorun\sh_SPropProtection.lua because SE is on and it's not in the VFS
Ignoring autorun\client.lua because SE is on and it's not in the VFS
Ignoring autorun\Wire_Load.lua because SE is on and it's not in the VFS
Ignoring autorun\client\AutoAim.lua because SE is on and it's not in the VFS
Ignoring autorun\client\ViewAll.lua because SE is on and it's not in the VFS
Ignoring autorun\client\cl_advdupe.lua because SE is on and it's not in the VFS
Ignoring autorun\client\cl_classmaker.lua because SE is on and it's not in the VFS
Ignoring autorun\client\hoverboard.lua because SE is on and it's not in the VFS
Ignoring autorun\client\cl_dmenu.lua because SE is on and it's not in the VFS
Ignoring autorun\client\cl_pcmod.lua because SE is on and it's not in the VFS
Ignoring vgui\CtrlNumPadMulti.lua because SE is on and it's not in the VFS
Ignoring vgui\DNumPadMulti.lua because SE is on and it's not in the VFS
Registering gamemode 'sandbox' derived from 'base'
Registering gamemode 'DarkRP' derived from 'sandbox'
Ignoring weapons\gmod_tool\stools\adv_duplicator.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\colmat.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\weld_ez2.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\rt_buoyancy.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera_duration.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera_hitchcock.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera_linker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera_looker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera_map_io.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\catmullrom_camera_numpad_trigger.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\breakableprops.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\cloaking.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\commandbox.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\constraintbreaker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\fadingdoor.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\fan.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\perimeterturret.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\positionswitcher.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\pressurepad.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\rotator.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\sensor.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\timer.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\toggleablehoverballs.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\door.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\easy_precision.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\fin2.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\hoverboard.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\laseremitter.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\laptop.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\pc.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\pclinker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\printer.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\printerlinker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\router.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\routerlinker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\satrouter.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\server.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\serverlinker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\xqm_wire_hydraulic.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\smart_constraint.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\smartwelder.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\ol_stacker.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\tttweaponplacer.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\unbreakable.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\weight.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_addressbus.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_adv.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_cam.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_cd_disk.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_cd_ray.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_colorer.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_cpu.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_damage_detector.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_dataplug.lua because SE is on and it's not in the VFS
Ignoring weapons\gmod_tool\stools\wire_dataport.lua because SE is on and it's not
Hey Falco,
Do you think you could code in a dynamic system for the vehicles?. So you can control speed, handling, etc. Meh, probably too much to ask for but I think it would be neat.
What I would really like though is a fuel system coded into DarkRP.
[QUOTE=TheDmac;22654391]I haven't edited anything as of yet.
Upon joining the server, this is what i get in the client console.[/quote]
Try turning off scriptenforcer.
If you use fastdl try turning that off too.
[editline]10:56AM[/editline]
[QUOTE=darksoul69;22654566]Hey Falco,
Do you think you could code in a dynamic system for the vehicles?. So you can control speed, handling, etc. Meh, probably too much to ask for but I think it would be neat.
What I would really like though is a fuel system coded into DarkRP.[/QUOTE]
That's really something for third party addons.
Lies!!!.
[QUOTE=darksoul69;22655785]Lies!!!.[/QUOTE]
Well, if it matters, I've been working on a global Vehicle damage system. Expect it come out in the next decade or so :S
Hey guys, i added this to my server with DrugzMod 2.2, the Drug shipments spawn and have the right models but i cant take them. If i spawn the drug with admin i can then take it - any help?
But if i do it AddEntity and buy only one drug instead of a shipment it works.....
Look in the Use settings from FPP and see if the drugs entities are in the blacklist OR not in the whitelist.
If admins can press use on it and non-admin can't (I guess that is what you mean) then the problem is most likely someone having pressed random buttons in the prop protection menu (Q>Utilities> FPP Use Protection) without knowing what he was doing.
I updated DarkRP on my server just then and now It doesn't work at all it seems somewhat like the same issue as [URL="http://www.facepunch.com/member.php?u=261855"]TheDmac[/URL]. My DarkRP was working fine before the update. On player connection I am getting errors like
[code]
06/17/2010 - 18:58:14: "Telekinisis_Cow<4><STEAM_0:1:30923031><>" STEAM USERID validated
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerInitialSpawn' Failed: gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:415: attempt to call field 'Log' (a nil value)
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerSelectSpawn' Failed: gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:458: attempt to call field 'RetrieveTeamSpawnPos' (a nil value)
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerLoadout' Failed: gamemodes\darkrp\gamemode\player.lua:107: attempt to call field 'HasPriv' (a nil value)
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerSpawn' Failed: gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:577: attempt to call field 'Log' (a nil value)
L 06/17/2010 - 18:58:52: "Telekinisis_Cow<4><STEAM_0:1:30923031><>" entered the game
L 06/17/2010 - 18:59:06: Lua Error: ERROR: GAMEMODE:'PlayerSay' Failed: gamemodes\darkrp\gamemode\chat.lua:11: attempt to call field 'Log' (a nil value)
[/code]
No change commands work, custom models dont work, wallet/jobs dont load.... It is completely forked :(
[QUOTE=Rambomst;22677623]I updated DarkRP on my server just then and now It doesn't work at all it seems somewhat like the same issue as [URL="http://www.facepunch.com/member.php?u=261855"]TheDmac[/URL]. My DarkRP was working fine before the update. On player connection I am getting errors like
[code]
06/17/2010 - 18:58:14: "Telekinisis_Cow<4><STEAM_0:1:30923031><>" STEAM USERID validated
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerInitialSpawn' Failed: gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:415: attempt to call field 'Log' (a nil value)
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerSelectSpawn' Failed: gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:458: attempt to call field 'RetrieveTeamSpawnPos' (a nil value)
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerLoadout' Failed: gamemodes\darkrp\gamemode\player.lua:107: attempt to call field 'HasPriv' (a nil value)
L 06/17/2010 - 18:58:52: Lua Error: ERROR: GAMEMODE:'PlayerSpawn' Failed: gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:577: attempt to call field 'Log' (a nil value)
L 06/17/2010 - 18:58:52: "Telekinisis_Cow<4><STEAM_0:1:30923031><>" entered the game
L 06/17/2010 - 18:59:06: Lua Error: ERROR: GAMEMODE:'PlayerSay' Failed: gamemodes\darkrp\gamemode\chat.lua:11: attempt to call field 'Log' (a nil value)
[/code]
No change commands work, custom models dont work, wallet/jobs dont load.... It is completely forked :([/QUOTE]
We could help you better if you uploaded the gamemode and linked it here.
I did a complete fresh install of DarkRP just then and I am still having this issue so uploading the DarkRP gamemode wouldn't help right?
*edit*
It seems while testing MySQL that is now in DarkRP caused this issue because it requires [url]http://www.facepunch.com/showthread.php?t=933647[/url] and upon installing it this issue happened but I didn't realise becasue I had to wait 2 days to update DarKRP atfer I had added gm_MySQL.
[QUOTE=murphy7;22727142]DarkRP 2.4.1 - Money & Name doesnt save!
Actually the Title explains everything. My friend bought a server and installed the SVN version of DarkRP and started to modify it a bit, adding new classes, adding drug shipments and installed a admin mod. After we played like ~1 hour with some other people, a random guy came in, and crashed the server. We just started it again and everything was fine, except our RP Names and the money didnt saved. Then we decided to test, if DarkRP actually saves ANYTHING. So we changed our RP Name, dropped money and reconnected. Our RP Name and Money got saved, but after restarting the server, everything is away again. We already changed the host, uploaded a unmodded, unedited SVN DarkRP and still, it wont save. Am I the only one that experienced such errors?
Dont suggest me to change to another gamemode. I like DarkRP and its in my opinion a very fun RP, if you keep mingebags and 9 year old kids out of the server. Never experienced any problems with DarkRP just with the new SVN Version. My friend already e-mailed FPtje about the problem and we are still waiting for a response, but maybe someone of you Facepunch members can help me. I hope I didnt posted in the wrong section.. If I did, I would be happy if a Mod would move it, thanks![/QUOTE]
Quoting myself from my help thread, esalaka linked me over here. Im not sure if this is a bug of the gamemode, or its a server problem, how I already explained we changed the host.
I got an e-mail from someone with exactly the same problem. His problem was an agenda being made incorrectly. Make sure you read the instructions in shared.lua [b]very carefully[/b]
[QUOTE=FPtje;22730216]I got an e-mail from someone with exactly the same problem. His problem was an agenda being made incorrectly. Make sure you read the instructions in shared.lua [b]very carefully[/b][/QUOTE]
As I already said, I installed a fresh version of DarkRP. I didnt even touched one file.
Edit:
I have interesting news. After taking a older version of DarkRP the saving works fine. Installed SVN version again, saving doesnt work.
I have that saving problem too. using last SVN.
[QUOTE=Black Killer;22731416]I have that saving problem too. using last SVN.[/QUOTE]
Finally! Im not the only one. I installed a old version of DarkRP, saving works fine. Uninstalled it, Installed the SVN version again. Doesn't save. Looks like something is wrong with the gamemode :|.
How do I restrict weapon dropping?
rp_restrictdrop 1 is not working for all the weapons.
[QUOTE=erie1555;22733804]How do I restrict weapon dropping?
rp_restrictdrop 1 is not working for all the weapons.[/QUOTE]
I think that only stop's people from dropping there [b]class[/b] items.
[QUOTE=Kaleb;22737843]I think that only stop's people from dropping there [b]class[/b] items.[/QUOTE]
That is what I'm trying to stop, if I wasn't clear enough.
People are able to drop their class weapons.
[QUOTE=murphy7;22731500]Finally! Im not the only one. I installed a old version of DarkRP, saving works fine. Uninstalled it, Installed the SVN version again. Doesn't save. Looks like something is wrong with the gamemode :|.[/QUOTE]
Ok. It should be something in init.lua or votes.lua
I have two servers, in the first i didn't update these two files... it's working perfectly. The second is new so i used the last SVN update and there is the saving problem, so i think it's something in init.lua or votes.lua
Falco, I'm kind of curious, why did you make rp_getvehicles or w/e the command was clientside only? If I'm running a dedicated, I'd like to see what vehicles are on the server, too.
[QUOTE=tgp1994;22749112]Falco, I'm kind of curious, why did you make rp_getvehicles or w/e the command was clientside only? If I'm running a dedicated, I'd like to see what vehicles are on the server, too.[/QUOTE]
added rp_getvehicles_sv for the server
revision 629
[QUOTE=Lt Kyle;19745425]So what's new in 2.4?[/QUOTE]
I know that one new thing is that you can choose what character you want with some of the default job's the rest you have to edit the shared.lua to let you choose for custom job's.
You're dumb. That post was in January.
Sorry, you need to Log In to post a reply to this thread.