directshot Posted November 13, 2011 Share Posted November 13, 2011 Hey Community, i have a play Server and want to install/activate the EXP System Script from "castillo14", but when i start the Script on my server, it doesnt works... i dont know why! Script: https://community.multitheftauto.com/index.php?p= ... ls&id=1253 My server ip: 85.25.95.176:22003 i hope you can help me.. i really need this cool script! thank you first... Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 /debugscript 3 What are you mean with that? Should i tipp this in my server console?! Link to comment
12p Posted November 13, 2011 Share Posted November 13, 2011 No. Join your server, login as admin, and write it. Then, here, you must report what does it say (say whole lines please, not something like "there is an error of guigetsize"). If nothing happens, restart the script. Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 Nothing happens... i mean no errors or something like that... and i restartet the script sometimes... should i edit my server files for the script? i only downloaded and activated the script! Link to comment
12p Posted November 13, 2011 Share Posted November 13, 2011 Have you used REFRESH? /refresh Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 Yes, no fails and errors.. i dont understand... what should i do ? Link to comment
12p Posted November 13, 2011 Share Posted November 13, 2011 Does it get loaded? I mean using "start", does it say something on console? What does it say? Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 when i tipp start exp_system then it succesfully started! in the console then comes only this-> creating new DB table level_system no errors -.- can you come on my server and check this? Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 now i tried on deathmatch mode... no luck for me!... what should i do? Link to comment
12p Posted November 13, 2011 Share Posted November 13, 2011 Maybe it's just Castillo's bad script Or 1.1.1 updates made it be wrong. But by you, there is nothing to do. You should try to learn how to script instead of using community script. Those servers based on community never get far. Link to comment
Castillo Posted November 13, 2011 Share Posted November 13, 2011 Are you even using the script as you should? it has exported functions, you must use them with another resource. Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 What are you mean? "With another resource"? Can you explain and give me a short easy tutorial?! Link to comment
Castillo Posted November 13, 2011 Share Posted November 13, 2011 This resource won't work MAGICALLY, it has EXPORTED fuctions that you can use for y our own purposes. If you would have READ the description of the resource, you could have noticed that it wasn't a magic script. Exported functions (server-side only): getPlayerLevel -> arguments: thePlayer setPlayerLevel ->arguments: thePlayer, theLevel getPlayerEXP -> arguments: thePlayer setPlayerEXP -> arguments: thePlayer, theExperience addPlayerEXP -> arguments: thePlayer, theExperience A way of using it with zombies by Slothman: addEvent("onZombieWasted",true) addEventHandler("onZombieWasted",root, function (killer) exports.exp_system:addPlayerEXP(killer,5) end) Link to comment
12p Posted November 13, 2011 Share Posted November 13, 2011 Castillo, be kind. He does not know anything about scripting and your res title sounds like what you call a "magic script". You should have called your resource "EXP Manager". Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 I dont understand anything here. Iam a noob in scripting.. i only take the scripts for my server.. i thought this script give me a simply exp system... what should i do exactly? i dont understand the description of the resource... Link to comment
12p Posted November 13, 2011 Share Posted November 13, 2011 If you cannot script, don't use this resource. You should learn, that's how we the rude guys make good servers > Get started https://wiki.multitheftauto.com/wiki/Resources https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI https://wiki.multitheftauto.com/wiki/Debugging Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 Please tell me what should i do ? Should i paste something in my server files? Link to comment
Castillo Posted November 13, 2011 Share Posted November 13, 2011 Can you please tell us for what you want to use this resource? you want to level up with what? killing players? zombies? Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 Killing players, leveling up... for fun, thats right. Its for my play server. Link to comment
Castillo Posted November 13, 2011 Share Posted November 13, 2011 Ok, then use this: -- script.lua addEventHandler("onPlayerWasted",root, function (_,killer) if (killer and killer ~= source) then exports.exp_system:addPlayerEXP(killer,5) end end) -- meta.xml: "Castillo" type="script" version="1.0"/> With these two codes you must create a new RESOURCE in your "resources" folder, there you must create two files, one called: script.lua and other called meta.xml after that, copy the code from here and paste it in the respective file. Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 Ok, i will try it out in the next half hour... thank you first man.. thank you^^ Link to comment
directshot Posted November 13, 2011 Author Share Posted November 13, 2011 You're welcome. Ok, the resource is created with these two files. And now, iam finished? Only this one resource with these two files are needed or something else? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now