Genesis

Members
  • Content Count

    19
  • Avg. Content Per Day

    0
  • Joined

Community Reputation

2 Neutral

1 Follower

About Genesis

  • Rank
    Poring

Profile Information

  • Gender
    Male
  • Location
    Boston

Recent Profile Visitors

2,043 profile views
  1. Hi, In FluxCP, is it possible to have it so when you go to "My Account" the "E-Mail" field is not shown, similarly to how the Account ID field is marked as "Not Applicable"?
  2. Hi, I was wondering if there is a way using strcharinfo(1) to determine if a party name has specific character (say "#") in the name. If so, do something.
  3. Hi, I currently have a NPC that sets a timer on a player like so: addtimer 7200000, "NPC::Tag"; when they finish a particular quest. This timer serves as a way to stop them from doing the quest again for 2 hours. I am also using OnPCLoginEvent to reset the timer when they login. However, I'd like to make it so it doesn't add the timer again, but instead, continues the existing timer. I was thinking of setting a variable and having it decrease by 1 every second, and that variable being the "time left." However, I do not know how to implement this using the eA/rA scripting language. Any suggestions?
  4. Make sure in your header you have UTF-8 set. This fixed it for me, thanks!
  5. It might be related to this: http://stackoverflow.com/questions/633762/special-characters-in-php-mysql However, I have tried this fix and it is not working. Some insight from others who might know would be great!
  6. Title seems to explain it pretty well. FluxCP, when pulling in character names, will not display character names that have special characters in them. This is an issue with FluxCP only. The website it is hosted on, will show them without a problem. FluxCP is set to UTF-8 Has anyone experienced this issue before?
  7. Hello, With the following script: pvp_n_1-1,0,0,0,0 monster Poring 1002,90,0,0,"SpeedRoomChecker::OnKill"; - script SpeedRoomChecker -1,{ OnKill: if (countitem(617) < 1) { mes "You have 0 apples!"; warp "prontera",0,0; end; } end; } I am getting this error message: [Error]: npc_event: event not found [SpeedRoomChecker::OnKill";;] I'm not sure why, I have worked on similar scripts with minimal problems. I assume this issue is something rather silly I am missing. Any thoughts?
  8. Bump, anyone have any ideas?
  9. Hello, I'm trying to create a slot machine NPC, where players pay a fee to play. They have a x chance of winning y zeny. Does anyone have a snippet of a script illustrating a zeny slot machine's formula for making sure the house always wins? As far as I can remember from my probability classes is the following formula: EV = Chance_of_winning * (winnings - bet) + (chance of winning * -bet) However, I'd like to be able to account for multiple instances of winning (not always the jackpot) but at the same time making sure the house always wins. TLDR: I nneed a snippet of a zeny slot machine that shows the formula used to make sure the house wins, while ensuring the player gets SOME zeny back.
  10. What would be the procedure to manually add each rid and disguise it? I know the addrid command is available but I am just curious and want to expand my knowledge of the eA scripting language.
  11. Is there any other way to accomplish this?
  12. Hey guys, I have into a bit of a problem with something I am coding and wanted some advice. I want to make it so when the party leader speaks to a NPC, the entire party is disguised. I was debating the best way to do this, I assume it would be to add all the members of the party to an array and using a for loop? Then clearing the array once they are disguised? Do you guys have any suggestions? Thanks!
  13. Hello all, I am trying to create a simple ranking NPC ingame that will rank players based on a variable, this variable is increased automatically once a player is killed, or does a specific quest. I know SQL is an option but I wanted to code it without it. I was originally thinking of adding the top 10 players to an array, but the thing that i can't figure out is how I would continuously update this top list. Do you guys have any suggestions or potentially, some sample scripts I can take a look at to based mine off of? Thanks!