Jump to content

Luciar

Members
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Luciar

  1. Change all instances of #New_Player to New_Player (without the #)
  2. The script he posted doesn't use SQL O_O
  3. Holy repetition batman! When Euphy said 200x I thought he was exaggerating... but...... he was being conservative in his counting... 237 - 8 @_@ my head >_<
  4. - script GM Kick -1,{ OnPCLoginEvent: if(!getgmlevel() || getgmlevel() >= 90) end; if(agitcheck() || agitcheck2()) goto OnAgitStart; .GMList$[getarraysize(.GMList$)] = strcharinfo(0); end; OnPCLogoutEvent: for(.@i = 0; .@i < getarraysize(.GMList$); .@i++) { if(strcharinfo(0) == .GMList$[.@i]) deletearray .GMList$[.@i],1; } end; OnAgitStart: for(.@i = 0; .@i < getarraysize(.GMList$); .@i++) { atcommand "@kick "+.GMList$[.@i]; } end; } Corrected a few more errors and updated the style to more modern usage
  5. Getgroupid is a separate script command. It returns the actual ID number of the attached player's group. GM level is separate. There is no ( ) mismatch in the script you posted. Are you running an updated revision of rAthena since the group change? (Post Here)
  6. I'm not going to keep going back and forth with you about this issue, the script provided in no way will ever remove the key from the players inventory when warped. You'll have to come up with your own script or use another one that has been provided in this thread.
  7. prontera,123,123,4 script QuestWarper 123,{ mes "[^0000FFQuest Warper Guy^000000]"; switch(QuestWarp) { default: mes "I can warp you if you find me these items!"; mes "# Item 1"; mes "# Item 2"; QuestWarp = 1; close; case 1: if(countitem(ITEM 1 ID) >= # && countitem(ITEM 2 ID) >= #) { mes "Great! You have the items."; select("Warp Me"); delitem ITEM1ID,#; delitem ITEM2ID,#; QuestWarp = 2; warp "prontera",123,123; end; } else { mes "Bring me the items I asked for!"; close; } case 2: mes "Would you like to warp?"; select("Yes!"); warp "prontera",123,123; end; } }Something like this?Replace all the "ITEM ID" and "#" with actual IDs and quantities
  8. Luciar

    @hold

    This is a source modification (or script using bindatcmd), not database.
  9. if(CheckVending()) { DetachRID(); continue; } Arievz has already taken care of that
  10. Check out this wiki article: Connecting
  11. ...The original script does not remove an item and functions 100% on rAthena. There is no possible way that the script I posted is removing any item when using the warper. You can feel free to try out the other two scripts that were posted here, but I would be more worried about figuring out why you're getting unexpected results from NPCs.
  12. That portion of the script does not take away any items. I've tested it on my own server and it works. I'm not sure why you're having difficulty. You exchange 10 Jellopy and 10 Apples for the key item (That will remove the 20 jellopy/apples) The warper itself only checks if the player has the key in his or her inventory... it will never remove an item.
  13. If every player is entering via the script (using instance_enter) they should be warped to the instanced version of the map. Using any other warp method can lead to undesired results. Can you explain more about how to reproduce ending up on a non-instanced, non-exclusive map with non-party members?
  14. To quote the late Ben Obi-Wan Kenobi: "These aren't the [sections] you're looking for" Scripting support goes into the appropriate Scripting Section
  15. //Warper for key item. prontera,123,123,4 script Warper#Key 123,{ //Item ID for key. .@key_id = 512; if(countitem(.@key_id)) warp "prontera",123,123; else message strcharinfo(0),"You need a "+ getitemname(.@key_id) +" to be warped!"; end; } That will only check if the player has the key, it won't take it away.
  16. Some people don't have a clue :|

  17. I don't usually work with IIS, but check out this article about adjusting permissions. Looks like the files are not configured to allow write access based on the errors. http://support.microsoft.com/kb/313075
  18. Short answer: No Longer Answer: Not possible without re-writing how FluxCP gets its item db information. And if you did it would make your FluxCP far less efficient. Searching through a large text file such as item DB is terrible. This is exactly why things like SQL databases exist. Stick with the item DB on SQL
  19. Did you define your instance in instance_db.txt? http://rathena.org/wiki/Instancing
  20. This thread is not requesting support and belongs in the Script Requests forum.
  21. Well you've succeeded in annoying me immensely. As stated in your identically vague other thread in script support. Don't waste the community's time by posting the same issue twice once here in requests and once in script support pretending like they are different requests by initially failing to provide complete details.
  22. Why on Earth did you create two incredibly vague threads, one here and one in Script Requets? At first you made them seem like two separate requests by not providing enough information. Once you did provide the requested information it became abundantly clear both topics were for the same exact thing. This wastes people's (in this case, my) time. This thread in particular is not asking for scripting support as you clearly have no interest in trying to accomplish your goal yourself. I have reported both threads and won't be providing help in either of them anymore, someone else can if they want, I guess.
  23. The script you provided has two NPCs that do the same exact thing. If players are always being rewarded 3 Valor Badges then the following condition is returning false: if( $@FlaviusBG1_Victory == Bat_Team )Since you haven't provided the rest of the script there's no way of us knowing why the statement above is always false.
  24. Well... you'd need to provide the script you want modified to begin with.
×
×
  • Create New...