Jump to content

Valiente

Members
  • Posts

    132
  • Joined

  • Last visited

Everything posted by Valiente

  1. You didn't understand what I said. lol Read it again. I edited my post to make it simple for you. Or magtaglog nalang tayo. Yung login_ip naka set siya sa 127.0.0.1, palitan mo ng wan ip kako. Try mo lang. Nalimutan ko na kasi.
  2. Since wala pang nag popost dito, hayaan niyo akong mauna. Simple Warper NPC This is just a simple script that I coded in a matter of 2 days wherein players can type the name of the map (eg. prontera, ra_san01, /etc) that they want to warp to. It also comes with a last warp system so that players won't have to type the same map name over and over again. The npc is placed in Prontera only. It's up to you whether you want to add new duplicates. Special thanks to AnnieRuru for giving helpful advices. Enjoy everyone. Suggestions to improve the script are encouraged! http://pastebin.com/4St64gbU
  3. Change all of 127.0.0.1 IPs to your WAN Address. As I can see Login_ip: still has this IP ( 127.0.0.1 ) Try that. See if it works.
  4. Okay, I'll do the changes to qualify your advice. Thanks for the info.
  5. Thanks for that. What do you exactly mean by OnInit. Sorry but I'm kinda new with the scripting commands. I'm trying to learn the language lol.
  6. Simple Warper NPC This is just a simple script that I coded in a matter of 2 days wherein players can type the name of the map (eg. prontera, ra_san01, /etc) that they want to warp to. It also comes with a last warp system so that players won't have to type the same map name over and over again. The npc is placed in Prontera only. It's up to you whether you want to add new duplicates. Special thanks to AnnieRuru for giving helpful advices. Enjoy everyone. Suggestions to improve the script are encouraged! http://pastebin.com/XXNt13cy
  7. Valiente

    npc_error

    NPC doesn't exist, or perhaps a duplicate? Post your code.
  8. As you Based on what you have posted, there's an extra open curly parenthesis. Remove it. To be more specific, this line: }{ <<<<<<<<------------------- ERROR Remove the {.
  9. I made a script like this before. Well not really made, just modified the default job changer. PM me if you want it,
  10. @Annie Ruru. I'm sorry. I tried fixing it myself due to boredom. Suddently noticed the mistakes and did some cleaning. And yeah, it worked. Just adding maps now and coordinates for each of the map. I find that script useful too. Made things much clearer for me. And I thank you for that. Never knew about that counter function for array index. Again sorry! I will keep this posted up, to show updates of the script I am making.
  11. I'm trying to create a simple warper npc wherein the player can type the map name and get warped to the desired map. For some reason, I'm having a hard time trying to get this work. This is the messy version of what I did earlier. I am currently getting this error: eathena script:getelementofarray: index out of range (128) and a debug, variable name='@map$' index = 0 And here is the script: Sorry but I'm kind of new in eA scripting. I mean I never studied the language. setarray @map$[0], prontera, morocc, prontera, alberta, aldebaran, izlude; setarray @coordsx[0], 151, 151, 151, 151, 151, 151; setarray @coordsy[0], 181, 181, 181, 181, 181, 181; set @ii,0; mes "[Warp Agent]"; mes "Please type the name of the map where you want to go:"; input @warp$; while ((@map$[@i] != @warp$) || (@i != 10)) { set @i,@i+1; set @ii,@ii+@i; if(@i == 10) { mes "[Warp Agent]"; mes "Invalid Map!"; close; } } // warp getarg(0),getarg(1),getarg(2); // warp .@map$[@i],@coordsx[@i],@coordsy[@i]; callsub S_DunWarp,@map$[@ii],@coordsx[@ii],@coordsx[@ii]; close; break; S_DunWarp: warp getarg(0),getarg(1),getarg(2); close; } Nevermind. Got it working. Thanks!
  12. http://svn6.assembla.com/svn/ClientSide/ Just use turtoiseSVN to get the files you want. Or just get them manually.
  13. All right. I'll try them out. Thanks! UPDATE: It works! Thanks. I used the first link you have provided. Been looking for that file for ages and you found it so easily. Thanks again. Now I can start creating NPCs for my project.
  14. change the value 4000 to 6000 so that it makes upto 5000 monster ids and 1000 ids for player clones I tried changing it to 6000 and it worked for me having my custom cloned monster with id 4999 Don't forget to build/compile afterwards.
  15. Hello, I have downloaded 2010-11-24aRagexeRE.exe and it appears to be working correctly on my eathena server but there is one tiny problem, probobly major. The keyboard isn't working in-game but ALT+F4 is still working though, making it an in-game problem only. I believe this has something to do with the lua/lub files. Anyone here willing to provide me the lua/lub files I need prior to the exe version I am using? Also, some installation instruction would help me a lot too. Thanks!
  16. Fixed the error. The wiki guide needs some revision. No wonder why people keep look for precompiled versions. lol Thanks though.
  17. True, you can disable specific commands and as we know there are two (2) types of commands, atcommand (@) and charcommand (#). I was referring to charcommands such as #go or #warp. True, you can disable specific commands and as we know there are two (2) types of commands, atcommand (@) and charcommand (#). I was referring to charcommands such as #go or #warp. Same examination here. The charcommand is working, all I need to do was type the player's name while using the command. But where can we set the permissions though?
  18. That's the exact same guide i've stated..
  19. I've followed the wiki guide about setting up a server. I'm lost during the compilation part of the tutorial. I have no idea why I'm getting errors. I've released the code but the outcome is a freaking mess. missing files etc. when running the map, char, log servers. Any ideas why?
  20. bonus2 bHPDrainRate,n,x; n/10 % probability to drain x% HP when attacking bonus2 bSPDrainRate,n,x; n/10 % probability to drain x% SP when attacking Yan. Kabit mo sa line ng item na gusto mo.
×
×
  • Create New...