Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/29/11 in all areas

  1. i think it would be best, if we put PreRE into its own branch. and then Renewal into the trunk as active development. it might help to remove all backwards compatible support for older clients in this renewal trunk. there is way too many #ifdef packetver this should make the code alot cleaner and easier to debug.
    5 points
  2. I was "lucky" enough to be interview by our marketing staff, about 3 weeks ago, and the interview has just been posted on YouTube. Even though these questions are generic and should be easy to answer I was totally speechless. I'm actually surprised they posted the video on YouTube. Don't forget to give me a thumbs up or a comment, please be gentle or nice with comments! Hahaha! BTW.... I have cut my hair since the interview!
    1 point
  3. Agreed. There's no reason not to help anyone regardless of their hosting setup. If you prefer not to help those that are using no-ip and home pc's, simply don't respond. Closing Topic
    1 point
  4. When you type your OWN ip in the browser, you are either using a LAN or LOOPBACK Address I'm assuming... Your Public WAN IP needs to be forwarded through your router to the destination LAN IP of the server hosting it
    1 point
  5. setarray .@test[0],1; The [0] stats the index where the array should be start to be written. An Index can holds up to 128 information, but the last Index is 127 since an array always starts with the index 0. To gain the arraysize, there is the command *getarraysize() also you need to know where the index starts. Example: I have an array which starts with the index 1: setarray .@boxid[1],512,513,514; Now I wanna know the array size: mes getarraysize(.@boxid); // To display it, I'm gonna use "mes" The next would be, if I wanna choose one of the information I have to create an menu. set .@boxm$,""; for (set .@m,0; .@m < getarraysize(.@boxid); set .@m,.@m + 1) set .@boxm$,.@boxm$ + "- "+.@boxid[.@m]+ ( (.@boxid==0)?"":":"); Then we'll have to open the menu. set .@s,select(.@boxm$); Since *select creates an "@" variables called "@menu" which contains the position I chose from the menu. I also saved it into a extra variable in case I would need the an other menu later, so I don't lose the number. If the array would start with an [0] I would have to do add a "- 1" after "(.@boxm$)", so it would like this: set .@s,select(.@boxm$) - 1; Now to confirm it, what I choose: mes "You have chosen: "+.@boxid[.@s]; mes "Is that correct?"; if(select("- Yes:- No") == 2) close; Like you saw I used another select, so the @menu has changed it's content. Then the npc ask us what to do next. mes "What do you want to now?"; if(select("- Edit:- Noting) == 2) close; Now he wants to know the new value for the array. mes "Please type the new value it should have:"; input @new; After I have give him the new value, now he needs to insert it into the array: setarray .@boxid[.@s],@new; So that ends my example. I hope I could be of help, since I'm not good at teaching others D: Regards, Chris
    1 point
  6. 1) When .@i equal "0" the array size isn't increment (so it erase this value after). - set .@exchange[getarraysize(.@exchange)], .@i; + set .@exchange[getarraysize(.@exchange)], .@i+1; - set .@count, .@count + doRefund(.@exchange[.@i]); + set .@count, .@count + doRefund(.@exchange[.@i]-1); 2)Equipment aren't stackable but are cumulate with countitem2... ( use < instead of != ) - if (countitem2(@inventorylist_id[.@i],@inventorylist_identify[.@i],@inventorylist_refine[.@i],@inventorylist_attribute[.@i], 0,0,0,0) != .@amt) { + if (countitem2(@inventorylist_id[.@i],@inventorylist_identify[.@i],@inventorylist_refine[.@i],@inventorylist_attribute[.@i], 0,0,0,0) < .@amt) {
    1 point
  7. i agree, that this project go Renewal. Chopping up code just to make renewal option work in a non renewal server is just ridicules. This new fork should pick up the principles that EA originally had about keeping up with kro. If member really dont want renewal, i dont see the reason they cant stay in there current svn and just commit the npc and database items only. Not to mention the fact that people need to stop living in the past and move on to renewal. i swear people make it seem like renewal is end of the world. In fact without renewal, 3-1 and mobs and new mob skill are way to overpowered and unbalanced. Good job on moving to renewal
    1 point
  8. There are no LUA files around for the date you mentioned, you could try to fix that problem using the LUB files from the skillinfo/skillinfoz inside your rdata.grf though you would need to update your client to around that date you're using the client, can't guarantee it'll fix the problem though.
    1 point
  9. If you need further help just post back, you would need to add an @go 2x or 3x depending on how many @go locations you have. You need to edit each of the parts and add something in for "mall"
    1 point
  10. Okey, ito ng script mo. http://pastebin.com/4R8V38sR
    1 point
  11. Lub Files Lua Files Try this.
    1 point
  12. There's no need to do such script, as Emistry said. eathena > conf > char_athena.conf Just change the values...should be like this // Maximum users able to connect to the server. Set to 0 for unlimited. max_connect_user: 10 // Minimum GM level that is allowed to bypass the server limit of users. gm_allow_level: 100 Will allow to connect 10 users as max, and only GMs level 100 or above will be able to connect. Since admins are 99 they will still not be able to connect, nor any other lower gms.
    1 point
  13. LOL...actually to limit player to connect to your game..there is 1 simple way rather than my script conf/char_athena.conf // Maximum users able to connect to the server. Set to 0 for unlimited. max_connect_user: 0 anyway..for vendor not counting.. erm..not sure..maybe can do a trick like this when character logon...add +1 to a variable. then attach a timer to character... every interval of time check whether player is vending or else.. if yes then detach the timer and -1 to variable.
    1 point
  14. depends on what the "Game" is, and how it's ran, but yes, anything's possible... create a counter variable, either $var or .var increase it's amount +1 on each character if ($var or .var == 10) { mes "Sorry Max Players reached"; close; }
    1 point
  15. @ BrianL hi Brian. may i suggest something IPB has a Hook for 3.2.3 that allows you to add the Facebook Page @ Side Bars i suggest you can add it so that people ( Like me and other people here that is a FB fanatic ) dont get confused. i know its not anymore eAthena since there is 2 eA page so that people can just like it on login~
    1 point
  16. 1 point
×
×
  • Create New...