Jump to content

Zell

Members
  • Posts

    411
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by Zell

  1. Hello, this is my Custom client inspirated by lol client! Please, give your notes Video: https://vid.me/e/NvnE -- More informations: Verify checksum of archives, send the packet to server telling that player entered by the official launcher, .zip and rar updates, online skin interface, online links text and send macaddress to db
  2. Ah, no, I thought this was for 'personal' use. You can't use this method in a launcher because the security risk is way too high. You have two options... Create a new packet to communicate with the server What you would have to do is create a connection with the server itself, probably read the clientinfo.xml, and then send the information you want to the server. In packets.h you would add a new packet that you can treat yourself. This is similar to what a WPE tool would do I guess. Keep using SQL You could stick with SQL... Create a new user with very limited access (only grant them the insert command). That way you could use the code above but by using that restricted account, they wouldn't be able to do anything even if they found out your connection username/password. The only abuse I can think of is that someone might end up spamming the DB with insert commands, but... this can happen with any other solution you come up with anyway. Hmm, the problem is that a person with high knowledge could insert cash points, or other values in DB, right? Or there is a way to give permission to note the all tables? Maybe I have to pick the first solution, more "safe", I think I will take a look at Openkore bots and see the connections maked by it.
  3. Cause I'm programming a Launcher/Auto Patcher/Shield, and I want to insert a value on DB to players only can login if by the launcher. When player logged I will check on sql if Launcher is = 1, and when log off, Launcher became = 0. http://i.imgur.com/k7WT06f.gifv I think is this, thanks Toekei, I will check for this when arrive home. But I have some doubts. Its safe to put this kind of connect directy by the application? And the server will give privileges to run the application execute the insert ? Because what I want is to change a value in DB that the emulator uses . Example: Player login on launcher (see the gif up), The application insert in my "ragnarok" db, launcher = 1 where login and password = used on launcher. I do not know if I was clear , and excuse me my English and grammar , I'm a little rusty . Thank you again.
  4. Hello, Is there a "easy" and safe way to make a application write in C# insert a value in DB? What I thought is to send the request to a PHP and the PHP on server make the insertion. But whow? Or its better send a socket/packet to emulator to make this?
  5. And read doc/script_commands.txt in your emulator folder
  6. nice! I have some hair style than you doesn't have in this, I will send to you when having time
  7. what about another argument for command "set", give a ticket time to this expire from memory/reg_value Ex: set @sample,5,5000; This will set @sample = 5 for 5000 seconds, after 5 seconds, @sample = 0. This is a bad thing to do? Will consume dispensable memory?
  8. I'm not getting your point, just open your server, nobody cares and specially gravity are caring about privates actually. You just can't became rich with a private (cause of imports, tax and etc), or publish on TV about your ro.
  9. Well, you can construct: http://s1026.photobucket.com/user/JeremiahLoh/library/Ragnarok%20DS%20Special%20Classes/Dark%20Knight%20Female?sort=3&page=1 http://s1026.photobucket.com/user/JeremiahLoh/library/Ragnarok%20DS%20Special%20Classes/Shaman%20Female?sort=3&page=1 http://s1026.photobucket.com/user/JeremiahLoh/library/Ragnarok%20DS%20Special%20Classes/Dark%20Knight%20Male?sort=3&page=1 Its pretty easy, maybe I construct the act and sprite later
  10. Well, I tested, and when entering any map the client crash
  11. Return or set a permanent char variable value from the player name. GetCharVar(<Variable_Name>,<Player_Name) SetCharVar(<Variable_Name>,<Variable_Value>,<Player_Name>) getcharvar.txt
  12. Hi, i'm using the last version. I have problem to get a id by the charname, the values is always 0. prontera,150,149,5 Script charname 90,{ mes "Player Name"; input .@name$; mes ""+getcharid(0,.@name$)+""; close; Only if i change the .@name$ to strcharinfo(0) or the char name direct its return the char_id I discovered that if I put like this: mes "Digite o nome do jogador"; input @nome$; set @nome$,@n$; mes ""+getcharid(0,.@n$)+""; close; works... So, its a problem on input emulator or on getcharid? @edit I tested here, the problem is with the getcharid by the name
  13. This was updated? I tried to make a getcharvariable but I have problem with the sql delay to save on global reg. @edit Never mind, i maked this with script https://rathena.org/board/topic/101748-function-getcharvar/
  14. Just use the neoncube 1.1 version
  15. Zell

    skill to warp

    I already answer you in cronus-emulator
  16. Just the first time when you talk with NPC you haven't change the Job. You can use this in your server when player login with a char the first time. OnPcLoginEvent: if(soul==1) end; callfunc "dreamin"; callfunc "dreamout"; end; Now the player can change the 2 player bodie are Newbies, so he can change both. Already solved it. Thanks anyway. Im using your script. Here's my own revision. Not a good scripter. Just figured it out on my own Oh, I see, the first time used you are reseting the Job. On future I optimize this. And hope you and your players are Enjoying the system
  17. In my old emulator (8~~10 months), I could add skills in a npc with this: skill ID_SKILL,LEVEL,4; And the skill goes to misc table on skills. But now on the last emulator on git, the skill not appears. @edit Nevermind, yes the commands has changed the flags. Now the flag is 3. Resolved!
  18. Zell

    Damage Effect

    bump, I know that with clif_damage we can call this, but i'm a bit lost.
  19. Just the first time when you talk with NPC you haven't change the Job. You can use this in your server when player login with a char the first time. OnPcLoginEvent: if(soul==1) end; callfunc "dreamin"; callfunc "dreamout"; end; Now the player can change the 2 player bodie are Newbies, so he can change both.
×
×
  • Create New...