• 'Too Many Lua Errors' (Please Read)
    10 replies, posted
If this isn't the right thread, I'm sorry. This is my first post and I signed up just to post this. Ok, to start off, I know NOTHING about lua. I recently fired my coder, and everyone was asking me to add more M9K shipments (There was only 1 at the time, one reason he was fired). I copied the format of the shipment he did. I changed the name, entity name, and model. To do this I used a gma unpacker, so I could get the models, and entitity names. Now, no one can join my server. Everyone gets 'Too many lua errors'. If you could please take a moment of your time, and read my addentities.lua, and tell me how to fix it, or just re-paste it and fix it yourself, that'd just be amazing. [CODE]AddCustomShipment("Desert eagle", { model = "models/weapons/w_pist_deagle.mdl", entity = "weapon_deagle2", price = 215, amount = 10, seperate = true, pricesep = 215, noship = true, allowed = {TEAM_GUN} }) AddCustomShipment("Fiveseven", { model = "models/weapons/w_pist_fiveseven.mdl", entity = "weapon_fiveseven2", price = 0, amount = 10, seperate = true, pricesep = 205, noship = true, allowed = {TEAM_GUN} }) AddCustomShipment("Glock", { model = "models/weapons/w_pist_glock18.mdl", entity = "weapon_glock2", price = 0, amount = 10, seperate = true, pricesep = 160, noship = true, allowed = {TEAM_GUN} }) AddCustomShipment("P228", { model = "models/weapons/w_pist_p228.mdl", entity = "weapon_p2282", price = 0, amount = 10, seperate = true, pricesep = 185, noship = true, allowed = {TEAM_GUN} }) AddCustomShipment("AK47", { model = "models/weapons/w_rif_ak47.mdl", entity = "weapon_ak472", price = 2450, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("MP5", { model = "models/weapons/w_smg_mp5.mdl", entity = "weapon_mp52", price = 2200, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("M4", { model = "models/weapons/w_rif_m4a1.mdl", entity = "weapon_m42", price = 2450, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Mac 10", { model = "models/weapons/w_smg_mac10.mdl", entity = "weapon_mac102", price = 2150, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Pump shotgun", { model = "models/weapons/w_shot_m3super90.mdl", entity = "weapon_pumpshotgun2", price = 1750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Sniper rifle", { model = "models/weapons/w_snip_g3sg1.mdl", entity = "ls_sniper", price = 3750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Lockpick", { model = "models/weapons/w_crowbar.mdl", entity = "lockpick", price = 1000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_BLACKMARKETDEALER} }) AddEntity("Drug lab", { ent = "drug_lab", model = "models/props_lab/crematorcase.mdl", price = 400, max = 3, cmd = "/buydruglab", allowed = {TEAM_GANG, TEAM_MOB} }) AddEntity("Gun lab", { ent = "gunlab", model = "models/props_c17/TrapPropeller_Engine.mdl", price = 500, max = 1, cmd = "/buygunlab", allowed = TEAM_GUN }) AddEntity("Topaz Printer", { ent = "topaz_money_printer", model = "models/props_c17/consolebox01a.mdl", price = 4000, max = 2, cmd = "/buytopaz" }) AddEntity("Amethyst Printer", { ent = "amethyst_money_printer", model = "models/props_c17/consolebox01a.mdl", price = 9500, max = 2, cmd = "/buyamethyst" }) AddEntity("Emerald Printer", { ent = "emerald_money_printer", model = "models/props_c17/consolebox01a.mdl", price = 15700, max = 2, cmd = "/buyemerald" }) AddEntity("Ruby Printer", { ent = "ruby_money_printer", model = "models/props_c17/consolebox01a.mdl", price = 30000, max = 2, cmd = "/buyruby" }) AddEntity("Sapphire Printer", { ent = "sapphire_money_printer", model = "models/props_c17/consolebox01a.mdl", price = 100000, max = 2, cmd = "/buysapphire" }) AddCustomVehicle("auditttdm", "models/tdmcars/auditt.mdl", 20000, {TEAM_CARDEALER}) AddCustomVehicle("c4tdm", "models/tdmcars/c4",800 , {TEAM_CARDEALER}) AddCustomVehicle("focusrstdm", "models/tdmcars/focusrs",20000 , {TEAM_CARDEALER}) AddCustomVehicle("eb110tdm", "models/tdmcars/eb110",500000 , {TEAM_CARDEALER}) AddCustomVehicle("dbstdm", "models/tdmcars/dbs",95800 , {TEAM_CARDEALER}) AddCustomVehicle("coupe40tdm", "models/tdmcars/coupe40",23500 , {TEAM_CARDEALER}) AddCustomVehicle("sparktdm", "models/tdmcars/spark",15000 , {TEAM_CARDEALER}) AddCustomVehicle("69camarotdm", "models/tdmcars/69camarot",30000 , {TEAM_CARDEALER}) AddCustomVehicle("chevellesstdm", "models/tdmcars/chevelless",20000 , {TEAM_CARDEALER}) AddCustomVehicle("beetle67tdm", "models/tdmcars/beetle67",10000 , {TEAM_CARDEALER}) AddCustomVehicle("cooper65tdm", "models/tdmcars/cooper65",15500 , {TEAM_CARDEALER}) AddCustomVehicle("bmwm5e60tdm", "models/tdmcars/bmwm5e60",40000 , {TEAM_CARDEALER}) AddCustomVehicle("golf3tdm", "models/tdmcars/golf3",20000 , {TEAM_CARDEALER}) -- ADD CUSTOM SHIPMENTS HERE(next line): AddCustomShipment("UMP45", { model = "models/weapons/w_hk_ump45.mdl", entity = "m9k_ump45", price = 0, amount = 10, seperate = true, pricesep = 205, noship = true, allowed = {TEAM_GUN} }) AddCustomShipment("UZI", { model = "models/weapons/w_uzi_imi.mdl", entity = "m9k_uzi", price = 5500, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("MP7 Silenced", { model = "models/weapons/w_mp7_silenced.mdl", entity = "m9k_mp7", price = 5000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("MP5", { model = "models/weapons/w_hk_mp5.mdl", entity = "m9k_mp5", price = 4000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Bizon", { model = "models/weapons/w_pp19_bizon.mdl", entity = "m9k_bizonp19", price = 6750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("PDW", { model = "models/weapons/w_kac_pdw.mdl", entity = "m9k_kac_pdw", price = 4750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Glock 18", { model = "models/weapons/w_dmg_glock.mdl", entity = "m9k_glock", price = 4200, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("AW50", { model = "models/weapons/w_acc_int_aw50.mdl", entity = "m9k_aw50", price = 9000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Double Barrel Shotgun", { model = "models/weapons/w_double_
What do you mean?
Put sv_kickerrornum 0 in your server.cfg. Also, no one is going to code for free.
Actually, my old coder coded for free
Then why'd you fire him?
He only coded a couple jobs, then stopped getting on the server, and he wouldn't take 2 seconds to change the price of one of the printers.
I used to have a coder but he turned on the server and hacked it. Bye Bye!
[QUOTE=DerfStew;42207758]I used to have a coder but he turned on the server and hacked it. Bye Bye![/QUOTE] It's not hacking if he knows the password...
[QUOTE=ms333;42210394]It's not hacking if he knows the password...[/QUOTE] He didn't he had access to certain folders of FTP and had RCON
If he has the rcon password then he basically doesn't need anything else.
Sorry, you need to Log In to post a reply to this thread.