Jump to content

Akinari

Members
  • Posts

    247
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Akinari

  1. To those of you having the "No Voting Sites Found" issue, it seems the files were uploaded with bad formatting, causing some files to be completely commented out. Try replacing the files found in modules/voteforpoints with the ones below. index.php delete.php
  2. atcommand.c addition: /*=============================================== * @identifyall * => Indentify all items in inventory - Akinari *-----------------------------------------------*/ ACMD_FUNC(identifyall) { int i,cost=100; // Zeny cost nullpo_retr(-1, sd); for (i=0; i<MAX_INVENTORY; i++) { if (sd->status.inventory[i].nameid > 0 && sd->status.inventory[i].identify!=1) { if((sd->status.zeny < cost) && (pc_get_group_level(sd) < 10)) { //GMs above group 9 bypass zeny check sprintf(atcmd_output, msg_txt(719),cost); clif_displaymessage(fd, atcmd_output); clif_updatestatus(sd,SP_ZENY); return 0; } else if(pc_get_group_level(sd) < 10) sd->status.zeny-=cost; sd->status.inventory[i].identify=1; //I gotta poop, BRB clif_item_identified(sd,i,0); } } clif_updatestatus(sd,SP_ZENY); return 0; } ACMD_DEF(identifyall), msg_athena.conf addition: There's a Zeny addition for my server in there. This has only been tested a few times on my test server using GM and non-GM character so try it out. If you don't want a Zeny check, just remove if((sd->status.zeny < cost) && (pc_get_group_level(sd) < 10)) { //GMs above group 9 bypass zeny check sprintf(atcmd_output, msg_txt(719),cost); clif_displaymessage(fd, atcmd_output); clif_updatestatus(sd,SP_ZENY); return 0; } else if(pc_get_group_level(sd) < 10) sd->status.zeny-=cost; and clif_updatestatus(sd,SP_ZENY);
  3. Using Arch Linux for the server base, here's a gdb backtrace at a seg fault I got. I am not very knowledgeable about stuff like this and I've taken every step to solve this I can so I need some outside help. I know most people run seem to run CentOS for these servers, which happens to run glibc-2.5 while Arch Linux is at glibc-2.16. Any help is appreciated.
  4. I was following the other topic about code style here and it ended up simply making the files bigger and source harder to deal with while making more work for people with modifications as stated in the first post in that topic. I can only guess it might have been unintentional, but like Brian, I would have to agree that 4 spaces = tab is the correct way to go. Is there a final verdict on whether the files are staying like this or will it once again be modified?
  5. Oh whoops. My bad. Totally missed the parenthesis.
  6. @array[.@i] needs to be a string array. @array$[.@i]
  7. I forgot to fix a slight issue in a loop I made to calculate quest exp. Sorry about that. I'm sure there are other issues. Don't have the time right now.
  8. After 4 grueling days of translation and rewrite, I finally have these scripts in a (sorta) releasable state. Please note that much of the translation was done via line-by-line translations in an online translator, then written by my (and 2 others) interpretation of the translation, so they may not be 100% accurate (SuperHulk also said he wrote it in his own words as well). The quests_mora script written by SuperHulk took the most time due a rewrite I had to do to remove all the copypasta. I also wanted it to be an iRO Wiki Mora Enchants replication and many of those features were non-existent within his script. The (somewhat) finished product being my mora_enchant script. I know it probably still needs some work along with adding/removing some text, but so far it seems to be functioning as intended. The instance script was left unaltered, aside from translation. Any issues you have with it will have to be fixed by someone else or whenever I get around to checking it out in further detail. The file mora.txt within the download has current Mora NPCs in it from the SVN copied over plus SuperHulk's with, of course, translations. Again, these are probably not perfect translations and anyone else can go through and add the correct text. It should, for the most part, be grammatically correct. You should copy over the npc/re/cities/mora.txt with the one in the zip to avoid duplicates. So to get on with it, here is the download link. You may post or message me about any issues you run into. I will try to modify the download file when necessary. You are free to use, modify, copy, send, and re-release as you please. Edit: Oops. Almost forgot. These quest translations were done by JoWei in the other topic. I take no credit for them. 7211#Misty Forest Labyrinth Exploration#SG_FEEL#QUE_NOIMAGE# You have recently entered Misty Forest Labyrinth. Please wait 2 hours and 30 minutes before entering again.# # 7212#Loki's Search#SG_FEEL#QUE_NOIMAGE# You met Loki at the entrance of the Labyrinth, he seemed to seek a ^0000FFwomen with long violet hairs^000000. What does it mean? We should tell Loki that we hope to find her.# # 7213#Wandering Protector#SG_FEEL#QUE_NOIMAGE# Loki was searching that young women in his dragon form. After leaving the labyrinth, go talk to Loki at Mora.# # //-- 2010 ¿¡ÇǼҵå 14.1 1109#Lope & Euridi - The forest survivors#SG_FEEL#QUE_NOIMAGE# Go to the Inn at Mora and ask Pitt if he know anything about Lope.# Talk to Pitt.# 1110#Lope & Euridi - The fog's victims#SG_FEEL#QUE_NOIMAGE# Pitt thinks Lope is already dead, return to Euridi.# Talk to Euridi.# 1111#Lope & Euridi - The Forest of Fog#SG_FEEL#QUE_NOIMAGE# Find ^0000FF30 Lope Clues^000000 and show them to Pitt.# Gather 30 Lope Clues.# 1112#Lope & Euridi - The lost pieces#SG_FEEL#QUE_NOIMAGE# Pitt can't help you. You should return to Euridi and see if she can help you with the clues.# Talk to Euridi.# 1113#Lope & Euridi - Lope's Letter#SG_FEEL#QUE_NOIMAGE# All the pieces restore a letter meant for Pitt. Return to Pitt to show him the personnal letter.# Talk to Pitt.# 1114#Lope & Euridi - The sacrifice's cost#SG_FEEL#QUE_NOIMAGE# Pitt gave you Lope's Ring and confessed about what happened. You should tell the whole story to Euridi.# Talk to Euridi.# 1115#Lope & Euridi - The Abyss sound#SG_FEEL#QUE_NOIMAGE# Black Shadow says that there was a suspicious man near the entrance of the forest. You didn't know?# # 1116#Lope & Euridi - The thruth#SG_FEEL#QUE_NOIMAGE# You found Lope but he told you to relay to Euridi that he wants to live with the monsters. He can no longer be with her like he said so much he would in the past.# Talk to Euridi.# 1117#Lope & Euridi - The fake promise of eternity#SG_FEEL#QUE_NOIMAGE# Euridi didn't took the information about Lope well and gave back Lope's Ring to you... Talk to Euridi's friend.# Talk to Black Shadow.# 1118#Neighborhood Knight#SG_FEEL#QUE_NOIMAGE# Collect 30 Lope's clues. The leader of the Neighborhood Knights want to restore the letter written by Lope.# Gather 30 Lope's Clue.# 1119#Neighborhood Knight#SG_FEEL#QUE_NOIMAGE# Collect 200 Mysterious seeds. The leader of the Neightborhood Knights didn't want to give you anymore information about the mission.# Gather 200 Mysterious Seeds.# Download mora.zip Edit: Messed up an exp function in mora.txt. Sorry about that. Forgot to fix before release. Probably some other small errors. mora.zip
  9. Akinari

    mora quest

    I'm in the process of converting SuperHulk's scripts over right now. I will be releasing in probably a day or two. I've been held back by the mass amounts of copypasta in his scripts. So I have rewritten the largest file, but it still needs half translated, and the rest should fall in place.
  10. You need to recompile the server after removing that piece of code.
  11. Make sure you check for characters that log out during the event as well with Emistry's method. Otherwise values won't be correctly updated, if someone logs out, and you could have a broken or cheated finish.
  12. The best way is to use an old function called 'addrid'. I've seen someone else here comment that it causes lag, which I have never noticed lag as the command is being called. It may need some work, but I have it working currently as intended so I know it can be made to work. Powerful script command for event situations like yours. http://www.eathena.ws/board/index.php?showtopic=186459&st=0&start=0
  13. Just removing that conditional statement and recompiling will give you your desired effect. However, I'm not responsible for any other issues it may cause.
  14. Akinari

    lock.o

    Try reconfiguring before making. ./configure
  15. There's no way, that I can think of, to pick out the kind of information you'd need for the skills at the moment. You would need to modify the skill table in the SQL to accept a new value, type of skill whether permanent or other, and add them to the data structure called in the appropriate places in the source. From there mod the resetskill; command to only reset for permanent skills and give back the correct amount of skill points. This seems like the most robust way to complete this task.
  16. I can answer these 3 questions. 1. itemdelay.txt 2. @warp revives players because of the code within pc_setpos in pc.c if( pc_isdead(sd) ) { //Revive dead people before warping them pc_setstand(sd); pc_setrestartvalue(sd,1); } Remove this an recompile to disable that. 3. Source code modification adding a timer to the character using the command. Edit: Looks like I was a little late.
  17. Akinari

    MD5 password

    Well there are the <passwordencrypt> and <passwordencrypt2> clientinfo functions which I haven't delved extremely deep into but I see that they are supported (at least there are checks) on the server side. I believe that is what malufett was referring to in the previous post was that the client generally sends password plaintext. Sending a password plaintext is not a good thing.
×
×
  • Create New...