Jump to content

Sere

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by Sere

  1. Hello everybody It's me again x_x I tried to add this archievement system : http://rathena.org/board/topic/56410-achievement-system/page-3#entry74672 But I have the same problem ..to add it correctly I need to add something at MAP_H. But after some changes at rAthena it is not longer possible. So I have the question , how can I add it without MAP_H , or where do I need to add it ? Hopefully someone can help me Many thanks Greetings Sere
  2. Hello everybody I got a little question... the VIP System of rAthena is really nice but I want to try to change it a bit. I want that the Account, which allready got the VIP status, but the time elapsed, will be 'kicked' or logged out, that he loose the VIP Status. Actually I don't know how I should change it in that way. By example : VIP Status expires > A message pops up 'Your VIP Status is expired. Please log in again' (or something that way) > and you will be logged out Actually I made a fake name 'VIP' before the Char and this need to be changed too with this log off. Or does anyone have maybe an idea, that this all be can changed without logoff and just a message? Can anyone maybe help me ?
  3. Hello everybody I have a little problem. I want to change the languages at my server, but not only the buttons or the NPC's, also the itemdescription. I want to change this before the login, means before the server choose. Example : login > language : english, german , french, and so on > char select I saw it at the official server, that I can change it with different folders, but I think they changed it within the exe. They maybe hexed it in, when I choose 'french' that it will be displayed in that way. I don't want to repatch it always in different languages at the System Folder, cause everybody needs to download that much, after every update or change. Can someone maybe tell me, where I can hex it into it? And when someone knows it, what I exactly need to write and what's the max language? Would be nice if someone have any ideas. P.S : Sorry for my bad english Q_Q
  4. Thanks for your fast answer. Here is my test script: yesenia,137,135,5 script Test 60,{ if(#langtype == eng) { mes "The text is in english."; close; } if(#langtype == grm) { mes "Der Text ist auf deutsch."; close; } mes "Keiner der beiden Sprachen."; close; } The message in english works, but not this for german. Oh lol, works now. I have changed eng/grm to a number. But thanks for your help.^^ Have sending a pull request on GIT for map_msg_grm.conf. It is only translated at line 85. I will keep it updated.
  5. Hey guys, I've a question. At the first post was wrote: This setting is stored as the #langtype variable in `global_reg_value`. I can't find in global_reg_value anything with langtype. Can you help me please? I would combine #langtype with a npc like "If (#langtype == eng)". I know that it is selected by sql table, it is only an example.
  6. Many thanks for your help nndsl. But now I've a new error. T_T achievement.c:127:34: error: macro "msg_txt" requires 2 arguments, but only 1 given achievement.c: In function âachievement_achieveâ: achievement.c:127: error: âmsg_txtâ undeclared (first use in this function) achievement.c:127: error: (Each undeclared identifier is reported only once achievement.c:127: error: for each function it appears in.) achievement.c: In function âachievement_update_mobâ: achievement.c:621: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:621: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â achievement.c: In function âachievement_update_mob_subâ: achievement.c:639: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:639: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â achievement.c: In function âachievement_update_itemfindâ: achievement.c:652: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:652: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â achievement.c: In function âachievement_update_itemuseâ: achievement.c:663: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:663: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â achievement.c: In function âachievement_update_exploreâ: achievement.c:674: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:674: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â achievement.c: In function âachievement_update_questâ: achievement.c:685: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:685: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â achievement.c: In function âachievement_loadDBâ: achievement.c:1328: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type achievement.c:1328: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey, void *, struct __va_list_tag *)â make[1]: *** [obj_sql/achievement.o] Error 1 Ok, all solved.~ Works now ^^
  7. Hey, I've a problem. At my last server work the achievement perfectly, but in the latest rAthena revesion get this error: In file included from pc.h:22, from map.c:25: achievement.h:53: error: redeclaration of enumerator âAI_MAXâ map.h:317: note: previous definition of âAI_MAXâ was here I don't know what is wrong. In map.h gives AI_MAX.
  8. I try to add the <readfolder /> function. Know anyone how to add this correctly? Here is my clientinfo.xml: <clientinfo> <servicetype>france</servicetype> <servertype>primary</servertype> <extendedslot>4</extendedslot> <readfolder>english</readfolder> <connection> <display>English</display> <desc>None</desc> <address></address> <port>6900</port> <version>30</version> <langtype>1</langtype> <registrationweb></registrationweb> <aid> <admin>200000</admin> </aid> </connection> <servicetype>germany</servicetype> <servertype>primary</servertype> <extendedslot>4</extendedslot> <readfolder>german</readfolder> <connection> <display>German</display> <desc>None</desc> <address></address> <port>6900</port> <version>30</version> <langtype>1</langtype> <registrationweb></registrationweb> <aid> <admin>200000</admin> </aid> </connection> <servicetype>france</servicetype> <servertype>primary</servertype> <extendedslot>4</extendedslot> <readfolder>france</readfolder> <connection> <display>France</display> <desc>None</desc> <address></address> <port>6900</port> <version>30</version> <langtype>1</langtype> <registrationweb></registrationweb> <aid> <admin>200000</admin> </aid> </connection> fRO / euRO use this and there works without <readfolder />. fRO work with the same what i try to do. I have the same folder like fRO data/english data/german data/france data/turkish <?xml version="1.0" encoding="euc-kr" ?> 87.106.34.180 <clientinfo> <servicetype>france</servicetype> <servertype>primary</servertype> <extendedslot></extendedslot> <connection> <display>English</display> <desc>None</desc> <address>62.23.1.52</address> <port>6900</port> <version>1</version> <registrationweb>http://register.ragnarok.co.in</registrationweb> <aid> <admin>100082</admin> <admin>100083</admin> <admin>100085</admin> <admin>100087</admin> <admin>100207</admin> <admin>100363</admin> <admin>100365</admin> <admin>100491</admin> <admin>100504</admin> <admin>100973</admin> <admin>587215</admin> <admin>587213</admin> <admin>552599</admin> <admin>586313</admin> <admin>100081</admin> <admin>100089</admin> <admin>100090</admin> <admin>100084</admin> <admin>100097</admin> </aid> </connection> <connection> <display>Francais</display> <desc>None</desc> <address>62.23.1.52</address> <port>6900</port> <version>1</version> <registrationweb>http://register.ragnarok.co.in</registrationweb> <aid> <admin>100082</admin> <admin>100083</admin> <admin>100085</admin> <admin>100087</admin> <admin>100207</admin> <admin>100363</admin> <admin>100365</admin> <admin>100491</admin> <admin>100504</admin> <admin>100973</admin> <admin>587215</admin> <admin>587213</admin> <admin>552599</admin> <admin>586313</admin> <admin>100081</admin> <admin>100089</admin> <admin>100090</admin> <admin>100084</admin> <admin>100097</admin> </aid> </connection> <connection> <display>Deutsch</display> <desc>None</desc> <address>62.23.1.52</address> <port>6900</port> <version>1</version> <registrationweb>http://register.ragnarok.co.in</registrationweb> <aid> <admin>100082</admin> <admin>100083</admin> <admin>100085</admin> <admin>100087</admin> <admin>100207</admin> <admin>100363</admin> <admin>100365</admin> <admin>100491</admin> <admin>100504</admin> <admin>100973</admin> <admin>587215</admin> <admin>587213</admin> <admin>552599</admin> <admin>586313</admin> <admin>100081</admin> <admin>100089</admin> <admin>100090</admin> <admin>100084</admin> <admin>100097</admin> </aid> </connection> <connection> <display>Turkish</display> <desc>None</desc> <address>62.23.1.52</address> <port>6900</port> <version>1</version> <registrationweb>http://register.ragnarok.co.in</registrationweb> <aid> <admin>100082</admin> <admin>100083</admin> <admin>100085</admin> <admin>100087</admin> <admin>100207</admin> <admin>100363</admin> <admin>100365</admin> <admin>100491</admin> <admin>100504</admin> <admin>100973</admin> <admin>587215</admin> <admin>587213</admin> <admin>552599</admin> <admin>586313</admin> <admin>100081</admin> <admin>100089</admin> <admin>100090</admin> <admin>100084</admin> <admin>100097</admin> </aid> </connection> </clientinfo>
  9. Sere

    Town Message

    I've downloaded yet eAthena, but can't find anyone like this. Well, I've script it now by myself. I've thought it is harder...xD - script mapannounce -1,{ OnPCLoadMapEvent: getmapxy(@mapname$,@mapx,@mapy,0); if(@mapname$ == "payon") { announce "Welcome to [Payon]",bc_self,0x00F0E5,0,16; end; } end; } payon mapflag loadevent
  10. Sere

    Town Message

    Yea xD. That is my problem. hihi^^
  11. Sere

    Town Message

    Hi guys, Where can I get this script, what displayed the map which you entered.
  12. Ok, thanks for your answer. It is correct that the IShopWindow Ingame work with 2012-04-10?
  13. Hi guys, I search a stable Client with the new features like: "ItemShopWindow Ingame, new Equipment view, Monster HP bar, Partyrecruit System, etc..." I know it is "working" at 2013 Clients, but I've still error with trying to buy an Item at the Itemshop. (The purchase has failed because the NPC doesn't exist). I've test all stuff what is to find here as solution. (example: packet ver. in clif.c) Well, it would be perfect when this stuff working with Client version 2012-04-10, because there can be using the normally Ragnarok.exe and Patcher. You doesn't need Loki or R.O.L.eX_LQ. If anyone have a a solution for a stable version with the features like upper, it would be very nice if you help me. Thanks in advance. Ps: sry for my english
  14. Sere

    Flux CP registration

    It would be nice too, if all accounts from the same people order with the same email. Just like fRO.
  15. Sere

    Compiling Error

    Can nobody help me?
  16. Hello everyone, How can I change the registration to an automatically generation of IDs. Example: userT3ns9a I want to have "user" at first and follow with an "uppercase". user"T"3ns9a Special thanks in advance.
  17. Sere

    Compiling Error

    I dont changed anything at the map.h And i tried it out with a completly new one and it gave the same error out. After this i tried it with a completly new version and clean rathena and the same came.
  18. Hello everybody Today i wanted to work again on my server, but while compiling i became this error : error: redeclaration of enumerator âAI_MAXâ map.h:317: note: previous definition of âAI_MAXâ was here I dont know really what he want...its all right and i cant see any mistakes. Does anybody have an idea?
  19. 139, nachdem ich in der const.txt sie als Hidden NPCs delisted habe. Dennoch zeigt er mir nur ein Poring Sprite an. Wenn ich das aber auf der ID 650 z.b einfüge ersetzt er den NPC erfolgreich mit dem von mir gewollten NPC Sprite
  20. das habe ich auch soweit eingefügt, bei den Zahlen zwischen 139 und 400 sogar in der cons.txt allerdings zeigt er trotzdem nur einen Poring an und das obwohl alles einwandfrei eingefügt ist, ersetze ich mit demselben sprite einen anderen NPC zeigt er mir diesen Problemlos aus.
  21. Kannst du mir eventuell sagen, welche Exe du dann benutzt hast? Es ist schon ziemlich doof keine custom sprites verwenden zu können, ohne vorhandene NPC's zu ersetzen.
  22. Hello everybody. I wanted to script a way to get the credits of the donation shop with some ingame items. The NPC I made has his own sql table but my problem is, if I try to insert the accountid of the user he don't add it. Here is the script : mes "[Coin Manager]"; mes "========= Credits Info ==========="; query_sql ("select account_id,balance from `cp_credits`", .@acid,.@bala); mes "Account: ^FF0000"+.@acid+"^000000"; mes "Credits: ^00FF00"+.@bala+"^000000"; mes "=============================="; next; mes "[Coin Manager]"; mes "Okay."; mes "For every ^00FF00Mithril Coin^000000 you will become ^FF00005x Cash Points^000000!"; mes "How many ^00FF00Mithril Coins^000000 you want to exchange?"; if (countitem(674) >= 1){ next; input .@nummer; if (countitem(674) >= .@nummer) { set .@bala,.@bala+.@nummer*5; query_sql "UPDATE `cp_credits` SET `balance` = '"+.@bala+"' WHERE account_id = '"+getcharid(3)+"'"; delitem 674,.@nummer; dispbottom "The exchange was succesfull. You gained ["+.@nummer*5+" Cash Punkte] and you have now ["+.@bala+"]."; close; I tried many other ways to add the accountid. With insert he became an error or don't made anything. I don't know how to fix it. All ways I find on google don't solved the problem. Hopefully someone of you can help me. And sry for my bad english. Greetings Sere can't anyone help? T_T
  23. Hello everybody, long time no see But I have a question to you. Today I added the Achievement System : http://rathena.org/b...evement-system/ But now I want that a NPC display which achievements I already made and which not. I tried some solutions which was discussed there, but nothing helped. The NPC stand at the town and do nothing. But the server don't give an error message. My NPC script look this way : mes "[Achievement Manager]"; mes "Test"; getachievementname(1); close; After speaking with him he don't display anything. Edit : I already found a solution. Now I want to display the different Achievements in 2 colors. But at the switch(select) option. I don't found any post for this...maybe someone know how to change it. Should look like this: switch(select("Achievement 1(already don display in green):Achievement 2(dont reached display in red)")) Hopefully someone can help me
  24. i created first my grf and encrypt it then yes. But how the server can find the dll? He just load every which is in that main folder? And let me check about the .dll .
×
×
  • Create New...