Jump to content

Shikka

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Shikka

  1. Hab's schon per npctalk und doevents gelöst, danke! und ja, hab das bild mit'm handy gemacht, weil ich's verschickt hatte - > per handy... und hatte keine lust nochmal einzuloggen xD deswegen das bild vom handy genommen! sorry nächste mal mach ich'n screenshot x)
  2. Hi leute, wollte mal fragen, ob jemand erfahrung damit hat? unter dem suchbegriff "instance_npcname" hat das forum leider keine ergebnisse gefunden deswegen der thread und folgendes problem: der befehl, so wie er da steht funktioniert ingame(!) das problem an der ganzen sache ist nur, dass der npcname als id angezeigt wird und nicht als name... hoffentlich weiß jemand wie ich das ändern kann... npctalk gibt den richtigen namen aus, aber es ist wichtig, dass der npctalk aus einem anderem npc aus aufgerufen werden kann. ich setze noch zusätzlich ein bild rein danke im vorraus für eure hilfe das folgende script ruft den befehl auf: atl_cas01,202,91,0 script atl_enter_cas 111,{ atcommand "@npctalk "+instance_npcname("Zellest#1")+",du bittest um eine Audienz beim König?!"; } und das is der npc: atl_cas01,196,95,6 script Zellest#1 5124,{ end; }
  3. Achso... Wusste garnicht, dass man die Gruppen selbst erstellen muss x.X Der Post hilft mir sicherlich weiter. Danke sehr Ich werd's gleich mal ausprobieren Edit : Leider hilft er nicht Da ich zwar die BG_ID erstellen und auf spieler setzen kann, aber leider nicht auf mobbs... oder ich bin irgendwie zu blöd dafür Hier mein versuch -> $@BG_ID = createbgid("map",x,y,"npc::OnQuitEvent","npc::OnDieEvent"); set .@mobid, bg_monster ($@BG_ID,"map",x,y"mobname",mobid,"npc::onevent"); hab das natürlich so nicht im npc stehen... hab da richtige daten drin, aber arbeite viel mit getargs... so ist's dann doch leichter zu verstehen die getargs sind allerdings richtig darauf hab ich geachtet und alles mit debugmes überprüft... müsste funktionieren, allerdings will das bg_monster nicht in die bg_gruppe (bg_id)
  4. Shikka

    max item limit

    oh yeah, please share your knowledge it would be nice
  5. Okay, sehr schade. Auf jeden Fall danke ich dir für die Information. Dann regel ich mein vorhaben halt anders ^^ Wird schon irgendwie gehen. Danke nochmals für deine Antworten
  6. Danke für deine Antwort Leider hilft sie mir nicht wirklich weiter ^^'' Ich weiß ja, wo die Soundfiles gelesen werden. Das ist ja der Grund meiner Frage Soundfile gefunden -> wird gespielt soundfile nicht da -> crash Gibt nur leider keinen wert zurück Ich werd auch leider aus dem SRC-Code nicht richtig schlau und meine SRC-Kenntnisse sind leider noch nicht so super x) Hab zwar schon SRC Edits gemacht, aber dann eher so kleine/simple und das is schon nen Tick härter glaub ich ^^'' Müsste im großen und ganzen einfach nur ne 1 als Wert zurück geben, falls die Datei gefunden wurde und ne 0 zurückliefern, wenn sie nicht gefunden wurde ^^' Also ungefähr so: Soundfile vorhanden -> return 1; Soundfile nicht vorhanden -> return 0; Danke aufjedenfall für deine Mühe
  7. Hi, kann mir ggf. wer erklären, wie der befehl funktioniert? - Ich krieg den einfach nicht zum laufen... Hier mein Script -> atl_sunken mapflag battleground 2 atl_sunken,154,90,0 script Test 612,{ end; // <--- sonst kommt das -> chat_createnpcchat: npc 'Test' already has a chatroom, cannot create new one! <- im map server beim npc anklicken... OnInit: waitingroom "Test-Room",2,"Test::OnEnter",1,0,1,150; end; OnEnter: waitingroom2bg_single($@BG_1,"atl_sunken",154,95,"Test"); warpwaitingpc "atl_sunken",154,95; debugmes ""+$@BG_1+""; // <--- zeigt 0 an im map-server bg_warp $@BG_1,"atl_sunken",154,95; debugmes ""+$@BG_1+""; // <--- zeigt 0 an im map-server set $@Guardian, bg_monster($@BG_1,"atl_sunken",154,95,"Human",1949,"Test::OnMyMobDead"); bg_monster_set_team $@Guardian,$@BG_1; debugmes ""+$@Guardian+""; // <--- zeigt 111807638 an im map-server OnMyMobDead: end; } D.h. im großen und ganzen... Der setzt die ID vom Mob, aber nicht die vom Spieler, "<---- Ich möchte gerne einen Spieler mit einem Mob zusammen in eine Gruppe bekommen, so dass sie sich nicht gegenseitig angreifen..." weil der "waitingroom2bg_single"-befehl nichts macht... Exe -> ist vom 05.06.2013 glaub ich x) Aber an der Exe dürfte es ja nicht liegen, oder? o.O
  8. Nette diskusion hier Also meiner Meinung nach, wäre es sinvoller eine mehrsprachige (multilinguale) rAthena zu erstellen. Das Argument von wegen, es würde zu groß werden... Naja... Wozu kann man "komprimieren"? Zur not packt man ne .rar Datei oder sonst irgendwas und bietet die zum Download an Ich mein ne komplett Deutsche rAthena wäre zwar auch nett, aber die Frage wäre, ob es überhaupt noch genügend deutsche Spieler gibt und ob sich die mühe wirklich lohnen würde Im endeffekt ist es natürlich dem rAthena-Team überlassen, was es drauß macht <--- Wird wohl kaum helfen können (auch wenn meine Kenntnisse im SRC und Scripten minimal bis gut vorhanden sind) xD Aber wenn jeder Uploaden könnte, würde es zu viel Chaos geben, da sich files überschneiden könnten (wenn z.B. 2 leute gleichzeitig die selben Files uploaden) Is halt das problem, wenn zuviele mit SVN arbeiten... Man müsste andauernd die SVN aufräumen und debuggen Soweit zu meiner Meinung Ihr müsst sie nicht teilen, könnt gerne eure eigene Meinung haben. Aber lasst mir die meine xP
  9. Hi Klingt für mich irgendwie nach nem DB-Error. Hast du im src vielleicht irgendwas verändert, dass die item_db nichtmehr mitgelesen wird? Ein paar Details und/oder nen Screen des Login/Char/Map-Servers wären gut um kontrollieren zu können, ob wirklich kein(e) fehler/warnungen kommen bzw. ob die Item_db mit gelesen wird [Edit] :Ach quatsch... Du sagtest ja, dass mobbs loot droppen, also muss die db ja gelesen werden... Aber dennoch wären Screens vom Login/Char/Map-Server (nachdem du etwas gelootet hast) hilfreich denk ich
  10. Hey Ich wollte mal nachfragen, ob es möglich ist, eine Datei (zur not auch ne .wav Datei) aus einer GRF-Datei im SRC abfragen zu lassen. Also ungefähr so -> Select "Datei" From "test.grf". if (Datei == Vorhanden) { tu dies } else if (Datei == Nicht vorhanden) { tu das } Wäre super, wenn mir dazu wer was sagen könnte Schließlich kann man ja auch "Soundeffects" aus der grf lesen lassen und abspielen... Allerdings wird dabei nicht abgefragt, ob die Datei vorhanden ist, oder nicht... Vorhanden -> Wird abgespielt... Nicht vorhanden -> Passiert nichts... bzw. bekommt man eine Fehlermeldung, dass die Datei nicht gefunden wurde und der Client schmiert ab (je nach diff) x) Aber es gibt halt keine Ingame Fehlermeldung ("clif_displaymessage(fd, msg_txt(sd,1217)); // Please enter a sound filename (usage: @sound <filename>).") aus, sondern eine Windows-Fehler-Meldung Ich hoffe, ich habe meinen wunsch gut genug formuliert Bei unklarheiten versuch ich's gerne nochmals genauer zu erläutern Danke im Vorraus für Eure hilfe Mit freundlichem Gruß Shikka
  11. That means, Setup.exe saves your setup to SaveData folder. But the client can't read the SaveData if your hexed Ragnarok.exe reads the DataFolder first. So, diff another Ragnarok.exe without setting the "read Data folder first" option. I Tested it, it's working (My Setup.exe saves in SaveData and the client can read it)
  12. ah, i see, okay, sorry, then nevermind =D all is going well thanks for the update
  13. Wow, thanks ^^ I'll try your commands now. didn't thought that it would be so much work ^^'' thank you so much. edit: so, a lil bit tested. @lockedwalk -> works perfect @lockedfollow -> player are able to move again after the first following step (but it's not that big problem, because the player will be ported to the moving player if he'll come out of range) lockedwalk x y -> dunno if this command worked or not... forgotten xD lockedfollow -> didn't testet (but i think it will be the same problem like @lockedfollow) pc_locked_walk -> gave me some errors 'pc'_locked_walk "unknown command" or something like that, didn't watch the problem intensive, sorry. pc_locked_follow -> didn't tested (but i think it will be the same problem like pc_locked_walk) it's just fine, @lockedwalk was exactly what i needed so, thanks again for your great work! =) sorry, my english isn't that well =D
  14. WoW, danke sehr ^^ Wusste ja nicht, dass es so schwierig und so aufwändig ist dies einzufügen ^^'' Hab ja gefragt, ob es ne möglichkeit gibt, natürlich hätte die antwort auch einfach "nein" oder "ja, aber ist zu aufwändig" oder sowas in der art lauten können. Aufjedenfall bedanke ich mich nochmals recht herzlich für den aufwand. (natürlich werd ich mich auch im anderem topic nochmals bedanken, insofern es geht)
  15. oh, i see ^^ thought you use the command on this map xD sorry, my fault. could you post the mob-lines here, than? maybe it could be an missmatching number or are this mobs eventmobs with scripts onmobdead? more information about this mobs would be nice =D
  16. Shikka

    Poring Event

    nevermind ^^ Nameless2you has fixed (i hope)
  17. Shikka

    Poring Event

    thanks Nameless2you, sorry, i'm not good at scripting in one minute =D don't have much time at the moment (doing many things at the same time) xD sorry for that bad scripts ^^ just tried to help a lil bit xD
  18. Shikka

    Poring Event

    I'll write the npc's new, gimme one minute 1 npc - script loadporingevent -1,{ OnInit: // forgott this command in the npc above OnHour16: // forgott this command in the npc above if (gettime(4) >= 0 && gettime(4) <= 6 && gettime(3) == 16) enablenpc "poring#event1"; // enable on all days at 4 pm } 2 npc prontera,100,100,0 script poring#event1 1002,{ // 1002 = poring sprite? - i dunno if it works ^^ if ($won == 1) {mes "sorry, but one player already won."; close;} set @rnd,rand(1,100000) // 1,100000 = 1-100000 you can edit the chance to win or lose //choose 1 of this options. //disable the others or delete them //you can use: if ($won == 1){mes "sorry, but another player already won.";close;} if (@rnd == 1) {set $won,1; set $win,getcharid(0); goto win;} // mean only the user with getting random 1 is able to win and $won will end the clickable npc for all others //or: if (@rnd < 2) {set $won,1; set $win,getcharid(0); goto win;} // means the user with a number under 2 will win and $won will end the clickable npc for all others //even this is an option: if (@rnd > 2) {set $won,1; set $win,getcharid(0); goto win;} // means the user with a number higher then 2 will win... a really good chance to win at 1 up to 100000... xD and $won will end the clickable npc for all others goto lose; win: if ($win != getcharid(0)) {mes "sorry, but another player already won.";close;} // prevents that more than one player can win mes "wow..." mes "You've won!"; next; mes "Here is your Reward"; getitem xy,1; // xy = the item-id close2; disablenpc "poring#event1"; end; lose: warp "prontera",105,105; end; } so, this should be it... because i've changed the @rnd,rand(1,100000) you had to change the if(@rand == 1) to if (@rnd == 1) too. so... i hope i've fixed all...
  19. Shikka

    Poring Event

    set @rand,rnd(1,100000) //wrong set @rnd,rand(1,100000) //right. sorry, changed the two commands ^^
  20. Shikka

    Poring Event

    sorry, wrote to fast xD if ($won == 1) {sorry, but one player already won.} <--- wrong if ($won == 1) {mes "sorry, but one player already won.";} <--- right to start the event everyday you've to write this: - script loadporingevent -1,{ OnInit: // forgott this command in the npc above OnHour16: // forgott this command in the npc above if (gettime(4) >= 0 && gettime(4) <= 6 && gettime(3) == 16) enablenpc "poring#event1"; // enable on all days at 4 pm (should work, but i did not test it) }
  21. "mapindex_name2id: Map "xy" not found in index list!" (if i'm right) means only, that you've forgotten to write the map into your "rAtena/db/map_index.txt" write it in an the debugmes should be fixed.
  22. correct me if i'm wrong but... you wanna do Guild vs Guild on the map, but no Player vs Player? o.O I think this wont work. Because Guild vs Guild is another PvP mapflag Try only to use GvG should do it, am i wrong? GvG = guild vs guild (player in the guild A can't hit another player from guild A. but players from guild A can hit players from guild B.) if you disable PvP, a member from guild A can't hit a player from guild B. or did i understood your request wrong? ^^
  23. Shikka

    Poring Event

    loadeventnpc: - script loadporingevent -1,{ //choose 1 of the 2 options. //disable the others or delete them //you can use to enable: if (gettime(4) == 0) enablenpc "poring#event1"; // enable on sunday at 0 am (saturday -> sunday) //or: if (gettime(4) == 0 && gettime(3) == 8) enablenpc "poring#event1"; // enable on sunday at 8 am //and to disable again: if (gettime(4) == 0 && gettime(3) == 10) disablenpc "poring#event1"; // if no one wins in 2 hours it would be disabled again } // don't add the following to your npc: gettime(x) // x can be one of the following numbers. 1 - Seconds (of a minute) 2 - Minutes (of an hour) 3 - Hour (of a day) 4 - Week day (0 for Sunday, 6 is Saturday) 5 - Day of the month. 6 - Number of the month. 7 - Year. 8 - Day of the year. event npc: prontera,100,100,0 script poring#event1 1002,{ // 1002 = poring sprite? - i dunno if it works ^^ if ($won == 1) {sorry, but one player already won.} set @rand,rnd(1,100000) // 1,100000 = 1-100000 you can edit the chance to win or lose //choose 1 of this options. //disable the others or delete them //you can use: if (@rand == 1) {set $won,1;goto win;} // mean only the user with getting random 1 is able to win and $won will end the clickable npc for all others //or: if (@rand < 2) {set $won,1;goto win;} // means the user with a number under 2 will win and $won will end the clickable npc for all others //even this is an option: if (@rand > 2) {set $won,1;goto win;} // means the user with a number higher then 2 will win... a really good chance to win at 1 up to 100000... xD and $won will end the clickable npc for all others goto lose; win: if ($win != getcharid(0)) {sorry, but another player already won.} // prevents that more than one player can win set $win,getcharid(0); // prevents that more than one player can win at a time mes "wow..." mes "You've won!"; next; mes "Here is your Reward"; getitem xy,1; // xy = the item-id close2; disablenpc "poring#event1"; end; lose: warp "prontera",105,105; end; } don't forgett to delete or // the sentences who wont fit your request. didn't test it, but should work. hope i understood the request if i didn't, just tell me, i'll write another one, if you want
  24. you've to diff your client.exe to -> don't read data folder first then it should work. The new savefolder of the setup.exe is SaveData, so it can't read the saves, if the client reads datafolder first.
  25. okay, that can be fixed! you only have to check, from where they warp to another map. if they aren't in that area, do @battleignore and if they are in that area and warp with an npc or something only an end. like this: getmapxy @loadmap$,@x,@y,0; if (@loadmap$ == "prontera" && @x > 149 && @x < 163 && @y > 74 && @y < 89){ warp "izlude",0,0; // <--- just an example, i dunno the right "warp" command at the moment. end; } atcommand "@battleignore"; warp "izlude",0,0; // <--- just an example, i dunno the right "warp" command at the moment. end; you've to edit any warp on this map with this command. and this (just once) -> - script logoutevent -1,{ OnPCLogoutEvent: getmapxy @logoutmap$,@x,@y,0; if (@logoutmap$ == "prontera" && @x > 149 && @x < 163 && @y > 74 && @y < 89){ warp "prontera",170,90; // have to be higher or under the pvp-area coordinates. } end; } just how i told ya, it's really anoying and not the best way, but i think it's the only way at the moment. but i dunno. i'm not good at editing the source code, so it's up to you, if you wanna do it like this.
×
×
  • Create New...