Jump to content

Faller

Community
  • Content Count

    198
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Faller

  1. Any errors in system or lua_err logs?
  2. Yo Evo, just curious: Why wouldn't you recommend it for a public server?
  3. Hey! It's possible that you have got multiplied skills. What does that mean? You're editing one, but your server is loading another one (that comes after this one). I'd recommend looking "function Skill_WuYin_En" through your server files with Notepad++ If no matter what changes you make the damage doesn't change, that's surely the issue here.
  4. Hello! To be honest, I didn't really understand properly, but this might be what you're looking for: local dmg = 1000*sklv Basically, level 1 would deal 1000 damage (1000*1), level 2 would deal 2000 (1000*2) and so on... Although what you've done is pretty much the same, so Idk... If that's not what you're trying to achieve, you could try to better explain me and I could try to help.
  5. Hey, @johan! You don't need to worry about the points, it's a "show-only" thing. There's no points exchanger or such functions in the IGS itself. When you click in the "Exchange" button, it will simply take you to IGG's website which had the exchange function in PHP.
  6. Hello, @Angelix! > To check if folder exists + create, I've took this script from Lone Tower Inst. script: --Vars LoneInst.map = 'lonetower'; LoneInst.path = GetResPath(LoneInst.map..'/cache/'); --Function to check if folder exists local function getDir(sPath) if type(sPath) ~= "string" then return false end local response = os.execute("cd "..sPath) return response == 0 end --Requests function GetDir to check if folder exists, if it doesn't, make one... if not getDir(LoneInst.path) then os.execute("mkdir \""..LoneInst.path.."\"") end > About the other question, you might wanna take a look into this topic: https://www.tutorialspoint.com/lua/lua_file_io.htm > "w" - Write enabled mode that overwrites the existing file or creates a new file. Hope it helps, Faller.
  7. Hello! Sorry to ask, but why are you attempting to decompile UPO's iteminfo?
  8. Yea, stuff like: > Instead of directly changing the guild name upon command usage, send a request to the GMs (if not online, the request would show up when the gm logs), showing what the player has written and approve it or not. OK I know that's not a solution for the injection, just a workaround. > Somehow check the characters the player has written in the param, and make sure there's no injection string. This surely would be the best way, BUT, I can't think of anything to do so... Maybe modify ChatHandler to also check for ' (as it does with ,) and if there's ', return 0. #EDIT > Use string.find to make sure the param has no injection strings...
  9. Or simply use GetGuildLeaderID(role) The only problem is the SQL-Injection possibility, although it can be fixed.
  10. Thanks for your advice! It really does make sense. I've already blocked all these IPs, I just want to know who's performing this attacks, because I've seen servers less than 1 week old being completely blown by this attacks, which is just sad... :\ #EDIT And yea, none of these IPs are present in my database..
  11. @iZae, @V3ct0r The script would be something like this: CMD_HANDLER["guildchange"] = function(role, param) --Check if player is a GM if(GetGmLv(role) ~=99) then BickerNotice (role, " <UPO GM Commands> You are not a GM!") return 0 end --Check if params are nil if param[0] == nil then BickerNotice(role," <UPO GM Commands> Please define the old guild name!") return 0 elseif param[1] == nil then BickerNotice(role," <UPO GM Commands> Please define the new guild name!") return 0 end --Query QueryAsync( YouSQLHost, YouSQLUser, YouSQLPass, "UPDATE GameDB.dbo.guild SET guid_name = '"..param[1].."' WHERE guild_name = '"..param[0].."'" ); end That's a very quick example with no tests, should work with LuaSQL DLL. Requirements: ChatHandler and LuaSQL. Also, I didn't make any functions to check if the guild name already exists, take money, etc... That's why I made it a GM-only command. You can edit as you wish... IMPORTANT NOTE: I wouldn't give players any access to this command (just GMs or yourself with cha_name), as it have user-input (SQL Inject-able). Usage should be: /guildchange CurrentGuildName, NewGuildName
  12. Hey, @V3ct0r! It could also be done in-game with LuaSQL, if that's what he's talking about...
  13. Hello guys! As some other servers, I have also been target of DDoS attacks the last days. Although, in the last one, I was better prepared than ever, and I've got their IPs recorded. The only one which has a website up, is this one: http://5.135.210.41, also known as http://www.spinnerco.net/ Does anyone have any idea what's this/who owns it? #EDIT As KONG have said, I can't really tell if this IP was used as a slave (with no connections with it's owner) or it's the real attacker..
  14. Hello! I don't have the solution for your problem, but, I can affirmatively tell you that this ain't the solution. Players can still modify the models folders and do w/e they want...
  15. Hello everyone! I'm having an issue with the &reload command, basically, it just won't work for me. What happens? When I perform &reload iteminfo or whatever, my character will simply disconnect, and nothing is updated at all... I've found this error in my logs: This command ain't really "required" but would surely make my life much easier... Obs.: I didn't modify this command in my gs, it's &reload, so if someone thought of that, nope... If anyone can help me, I'll be really thankful, thanks!
  16. Hello! I'm not sure about patch, but if you're looking for a client directly from IGG, here it follows: http://download.igg.com/top/20110429/top_setup_2.00_20110429.exe?t=1494711550993 Release date: 2011-04-29 Yea, it seems like they still have it in their storage If not... I'm sorry!
  17. Example: The SQL User you've put in your website to access your database is "web_login"; In order to "web_login" be able to update how many credits a user have (which is basically what the voting system does, but it also has to check when was last vote, IP and so on...), it needs "UPDATE" permission, which basically allows that user to modify that column in the database, or a whole table/database, depending on how you set it... I'll suppose you're not using a custom pkoSite, so you probably use the table "account" in the database "GameDB" to store when the player has voted and how many credits he has... Then, you'll need to give SELECT and UPDATE permission to your website sql user, into that database, table. How you can do that? One of the ways you can do it through SQL queries, which you simply need to right click on the desired database (GameDB in this case) and click "New Query", in that query, type: USE GameDB; GRANT UPDATE ON OBJECT::account TO "LoginName"; GO and execute it... then make another query with this: USE GameDB; GRANT UPDATE ON OBJECT::account TO "LoginName"; GO and execute it... Done! Your website SQL User have permission to modify that table. Note that this may NOT be your case, also, your website might use different database and table to store the vote time/credits. Remember to modify "LoginName" to your SQL username. I'm sorry, maybe I wasn't clear enough, I'm really bad explaining things. :\
  18. Make sure that the SQL User used for the website has SELECT and UPDATE authorizations in your vote column/table/database.
  19. I can patch the game.exe version with ur server's if you'd like (if ur working with 1.36 files), but I have no idea on the ports... But it seems like the port is the same as the server, as you got the incorrect version message, which means your client could contact the server. If you want me to patch it, just send me: > Your game.exe; > The version in your GateServer (simply open GateServer config and look for "Version") That's it, thanks!
  20. Hey! You can't decompile it, but, if you're just looking for the default file, you can take it from ROSO 2.5 files or any other releases... Here follows ROSO's 2.5 SceneObjInfo.txt: You might experience issues compiling it as I just pasted the whole code here, if this happens, you can download it from here if the link didn't expire yet. I hope this helps, thanks!
  21. Great work & fast & trust-able & fair price Totally recommended!
  22. Thank you everyone for all these wonderful replies! I didn't know about this F9 command, it's really useful! I read the "Map Developers Handbook", and I've found many useful commands there! Such as Grid mode, which allows me to see the non cross-able areas I've set through Yammi. To end this topic, I just have 2 last questions: @Andrew So basically I can do the whole un-passable objects from Game Editor, open the .map on Yammi, and generate the unpassable areas for the game server? Are there any commands for this? Thanks! The last one is: Are there any ways of making Yammi work faster? Because after every brush, it takes like 5 seconds to apply it into the map, meantime I can't do anything. And it's NOT my PC! That's something I'm sure of. There we go, thanks again
  23. Hey, PkoDev! I'm having an issue regard the game editor, basically, these "impassable" dummy items won't work... I still can pass it. I know that I can use Yammi to define areas that can't be crossed, but, that's really hard to make every object impassable through Yammi, because I can't see them (?) The only way I found out at the moment is to get the coordinate of each object and "paint" it on Yammi... Which is really exhausting if you're making something big. I hope you guys can help me realize this... Thanks!
×
×
  • Create New...