

Rain408
Members-
Posts
77 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Rain408
-
I tried a few things, and it didn't work. Using @mapinfo help a lot, but it's kinda weird too. Here's what I tried. Went to a map i knew i couldn't teleport in. type @mapinfo ---> notice there was nothing there. Try to teleport ---> couldnt, but no warning saying i can't teleport here type @mapflag noteleport 1 ---> @mapinfo ---> mapflag noteleport is on --> tried to teleport, I couldn't teleport, but now i got a warning. That seem pretty weird to me so next i tried Then i went to a tool shop inside pront, type @mapinfo---> mapflag noteleport is on --> turn off mapflag noteleport on mapflag.config ---> can teleport, results as expected Now, I'm bloody confused. I tried, copying code before me....... copy/paste prt_inn noteleport---> and change prt_inn to a desire map i wanted to mapflag in ---> and the shit fucken WORK!!!!! SO WHY THE HELL DID I NOT WORK BEFORE WHEN SYNTAX WAS THE SAME!!! well thanks..... work up 4 in the morning to try to figure this shit out But thanks a bunch on the @mapinfo insight, thanks to that i notice there other spots i need to correct mapflag on ^^
-
Yea, that's not doing the trick for me. I'm still able to teleport on account where setting is normal player lvl Well i think i figure out the problem, but I still not know how to solve it it seems my npc/script_mapflags.config & npc/map/mapflags.txt on server side are not sync w/ the game Is there another location where the mapflags items are placed?
-
Yes I'm testing w/ a lvl 99. GM character, I'm just trying to remove teleport and fly wing from mvp maps. No teleport= the skill and fly wing right? Ahh I didn't know that
-
to set my mapflag for noteleport, The file would be located npc/mapflag/noteleport.txt right? In that file i added this // Mvp Maps mapflag noteleport moc_pryd06 mapflag noteleport lhz_dun03 mapflag noteleport ra_fild02 mapflag noteleport ra_fild03 mapflag noteleport ra_fild04 mapflag noteleport ve_fild01 mapflag noteleport ve_fild01 mapflag noteleport lou_dun03 mapflag noteleport prt_maze03 mapflag noteleport bra_dun02 mapflag noteleport gl_chyard mapflag noteleport abyss_03 mapflag noteleport gef_dun02 mapflag noteleport gef_dun01 mapflag noteleport treasure02 mapflag noteleport pay_fild11 mapflag noteleport gon_dun03 mapflag noteleport abbey02 mapflag noteleport xmas_fild01 mapflag noteleport ra_san05 mapflag noteleport dic_dun03 mapflag noteleport prt_sewb4 mapflag noteleport mosk_dun03 mapflag noteleport thor_v03 mapflag noteleport ama_dun03 mapflag noteleport kh_dun02 mapflag noteleport xmas_dun02 mapflag noteleport ice_dun03 mapflag noteleport ayo_dun02 mapflag noteleport niflheim mapflag noteleport anthell02 mapflag noteleport mjolnir_04 mapflag noteleport pay_dun04 mapflag noteleport gef_fild02 mapflag noteleport gef_fild14 mapflag noteleport moc_pryd04 mapflag noteleport in_sphinx5 mapflag noteleport moc_fild17 mapflag noteleport dic_dun02 mapflag noteleport ein_dun02 mapflag noteleport beach_dun mapflag noteleport tur_dun04 mapflag noteleport odin_tem03 mapflag noteleport jupe_core mapflag noteleport When i go reload the script, it appears to me I'm still able to go to those maps and teleport. Did i mess up something?
-
I was looking at this script, and was wondering how to do either or. 1) limit options through the script. 2) locate file in server where it pulling information for clothing/hair/color and self adjust. With that said, where is getbattleflag located or is it possible to adjust options w/in the script? prontera,170,180,1 script Stylist#custom_stylist 122,{ setarray .@Styles[1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); setarray .@Look[1], LOOK_CLOTHES_COLOR, LOOK_HAIR, LOOK_HAIR_COLOR; set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color"); set .@Revert, getlook(.@Look[.@s]); set .@Style,1; while(1) { setlook .@Look[.@s], .@Style; message strcharinfo(0),"This is style #"+.@Style+"."; set .@menu$, " ~ Next (^0055FF"+((.@Style!=.@Styles[.@s])?.@Style+1:1)+"^000000): ~ Previous (^0055FF"+((.@Style!=1)?.@Style-1:.@Styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)"; switch(select(.@menu$)) { case 1: set .@Style, ((.@Style != .@Styles[.@s]) ? .@Style+1 : 1); break; case 2: set .@Style, ((.@Style != 1) ? .@Style-1 : .@Styles[.@s]); break; case 3: message strcharinfo(0),"Choose a style between 1 - "+.@Styles[.@s]+"."; input .@Style,0,.@Styles[.@s]; if (!.@Style) set .@Style, rand(1,.@Styles[.@s]); break; case 4: set .@Style, .@Revert; setlook .@Look[.@s], .@Revert; break; } } }
-
I GOT YOU SON!!! Raidcall...... Give everyone access to raidcal and play your music. It's GENIUS!!!
-
Thanks that work out nicely.
-
I figure an easier way to do it, have the winner warp out w/ prize upon correct poring kill than have a npc that appear after event is over that just warp out loser
-
num2itemdisplaynametable question, Syntax is wierd
Rain408 replied to Rain408's question in Database Support
Ahhh thank you -
I messed up my atcommand.c trying to add a new command. So i went on github to get the atcommand.c file there. https://github.com/rathena/rathena/blob/master/src/map/atcommand.c then i went to recompile my files on putty and ran into this error. atcommand.c:3255: error: ‘MAX_SKILL_ID’ undeclared (first use in this function) atcommand.c:3255: error: (Each undeclared identifier is reported only once atcommand.c:3255: error: for each function it appears in.) atcommand.c:3268: error: ‘ADDSKILL_PERMANENT’ undeclared (first use in this function) atcommand.c: In function ‘atcommand_reload’: atcommand.c:3835: error: too many arguments to function ‘packetdb_readdb’ atcommand.c:3838: warning: implicit declaration of function ‘instance_reload’ atcommand.c: In function ‘atcommand_mapinfo’: atcommand.c:3957: error: request for member ‘count’ in something not a structure or union atcommand.c:3960: error: request for member ‘count’ in something not a structure or union atcommand.c:3963: error: request for member ‘entries’ in something not a structure or union atcommand.c:3964: error: request for member ‘entries’ in something not a structure or union atcommand.c:3965: error: request for member ‘entries’ in something not a structure or union atcommand.c:3966: error: request for member ‘entries’ in something not a structure or union atcommand.c:3967: error: request for member ‘entries’ in something not a structure or union atcommand.c:3968: error: request for member ‘entries’ in something not a structure or union atcommand.c: In function ‘atcommand_cleargstorage’: atcommand.c:5438: warning: implicit declaration of function ‘gstorage_get_storage’ atcommand.c:5438: warning: assignment makes pointer from integer without a cast atcommand.c:5443: error: ‘struct guild_storage’ has no member named ‘opened’ atcommand.c:5444: error: ‘struct guild_storage’ has no member named ‘opened’ atcommand.c:5446: warning: implicit declaration of function ‘gstorage_storageclose’ atcommand.c:5450: error: ‘struct guild_storage’ has no member named ‘locked’ atcommand.c:5452: warning: implicit declaration of function ‘gstorage_delitem’ atcommand.c:5455: error: ‘struct guild_storage’ has no member named ‘locked’ atcommand.c: In function ‘atcommand_skillid’: atcommand.c:5512: error: invalid type argument of ‘->’ atcommand.c:5513: error: invalid type argument of ‘->’ atcommand.c:5515: error: invalid type argument of ‘->’ atcommand.c:5516: error: invalid type argument of ‘->’ atcommand.c: In function ‘atcommand_useskill’: atcommand.c:5564: warning: implicit declaration of function ‘SKILL_CHK_HOMUN’ atcommand.c: In function ‘atcommand_skilltree’: atcommand.c:5648: error: invalid type argument of ‘->’ atcommand.c: In function ‘getring’: atcommand.c:5677: error: too many arguments to function ‘map_addflooritem’ atcommand.c: In function ‘atcommand_changesex’: atcommand.c:6788: error: too many arguments to function ‘chrif_changesex’ atcommand.c: In function ‘atcommand_changecharsex’: atcommand.c:6809: error: too many arguments to function ‘chrif_changesex’ atcommand.c: In function ‘atcommand_auction’: atcommand.c:8401: warning: passing argument 1 of ‘clif_colormes’ makes pointer from integer without a cast atcommand.c: In function ‘atcommand_set’: atcommand.c:9010: warning: passing argument 2 of ‘pc_readregistry_str’ makes pointer from integer without a cast atcommand.c:9012: warning: passing argument 2 of ‘pc_readregistry_str’ makes pointer from integer without a cast atcommand.c:9015: warning: passing argument 2 of ‘pc_readregistry_str’ makes pointer from integer without a cast atcommand.c:9039: warning: passing argument 2 of ‘pc_readregistry’ makes pointer from integer without a cast atcommand.c:9041: warning: passing argument 2 of ‘pc_readregistry’ makes pointer from integer without a cast atcommand.c:9044: warning: passing argument 2 of ‘pc_readregistry’ makes pointer from integer without a cast atcommand.c: In function ‘atcommand_langtype’: atcommand.c:9386: warning: passing argument 2 of ‘pc_setregistry’ makes pointer from integer without a cast atcommand.c:10495:2: warning: no newline at end of file make[1]: *** [obj/atcommand.o] Error 1 make[1]: Leaving directory `/root/trunk/src/map' make: *** [map] Error 2 As noted, my atcommand.c file is exactly the same as on the link provide. I have no idea what the problem is
-
got the same problem here
-
/ ------ �������� ------ 7205#����_õ����# 7206#����_�����_����# 7207#����_����# 7208#�콼_��Į# 7209#�������_����# 7210#�������_��������# 7211#����Ÿ����_����# 7212#�Ŵ�_����# 7213#�ٴý���# 7214#����츮# 7215#�η���_�ٴ�# 7216#����_���÷�# 7217#����# 7218#����_����# The code looks like that, i was hoping for english. I used the grf editor to open the data.grf to get to the txt file and when i open it.... it's not even in english. What should i do?
-
So i been trying to make item 7711 and event ticket undroppable. What i been doing is looking at a comparable item script, but I'm getting no hints. Before i start that, may i ask this if i were to change 7711, how do i make it appear-able in game? Am I changing Item_db.sql item_db.txt ... ahh figure that out, it item_db.txt w/ that said wtf is that Item_db.sql for? Also i still don't know how to make this item undroppable & untradeable ahh figure it out.... item_trade.txt. Count this as a follow up question. I was trying to make a costume, by merging item + costume text togather in the item_db.txt And i got this 19508,Cat_Ear_Beret,Cat Ear Beret,4,0,,0,,0,,0,0xFFFFFFFF,7,2,1024,,1,0,761,{},{},{} http://postimg.org/image/9qjkqimb5/ As we can see, the costume is what i want, but the details + gif in the inventory and information is not. How do i fix this? Hmm I think it because I half ass making a costume, i only add a file to the item_db.txt and nothing else. What else should i do being?
-
i tried that as well. What Happens is that it warps the winner out of the room to the location you input. And everyone else is stuck in the room. So in a sense it does the opposite of what i want
-
I was trying to figure out a script, and saw the command @mapexit, & having no idea what it did. I tried it out & now i can log into server again. How to do i turn on map server nvm i figure it out, have to do it by putty
-
I couldn't figure this out. I was trying to replace @doommap with areawarp OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; atcommand "@doommap"; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end; I was trying to make it so that players would just get warp out if someone kills the right poring. When i change the script to this OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; areawarp "poring_w01,81,203,59,"quiz_02",302,252; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end; When i killed the correct poring nothing happens and scripts stops there, i.e nothing happens Any idea how to do this?
-
So i tried writing the script like this OnInit: set .eventstarted, 0; set $bombring_reward,12256; bindatcmd "enablebombring","Bombring::OnGMStart"; bindatcmd "disablebombring","Bombring::OnGMStop"; hideonnpc "The Baaam#qz"; hideonnpc "The Baaam#prt"; end; OnGMStart: if (getgroupid() < 99){ dispbottom "You are not eligible for this command.", RED; end; } OnMinute04 set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; & This OnInit: set .eventstarted, 0; set $bombring_reward,12256; bindatcmd "enablebombring","Bombring::OnGMStart"; bindatcmd "disablebombring","Bombring::OnGMStop"; hideonnpc "The Baaam#qz"; hideonnpc "The Baaam#prt"; end; OnGMStart: if (getgroupid() < 99){ dispbottom "You are not eligible for this command.", RED; end; } set .eventstarted, 0; OnMinute04 set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; OnTimer60000: OnTimer120000: OnTimer180000: OnTimer240000: And in both scenario the script wont start on a timer. Nvm figure it out, i had a syntax error. Thanks for the aid ^^
-
Thanks for replying so fast, I'll test it out when I get home from work
-
Hi, just look for the "OnGmStart" block and add OnMinute14 at the end. It should look something like this: OnMinute14: OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; Please let me know if it solved your problem. it didnt do the trick for me set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnMinute31 OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; OnTimer60000:
-
thanks, i just figure out OnClock xD
-
My question is how do I know the time on the timer. Example dice script: OnMinute45: announce "Mr. Dice: The Dice event will be starting shortly.",0; sleep2 10000; announce "Mr. Dice: Those who want to play, please proceed to the center of Prontera 156 159.",0; sleep2 10000; announce "Mr. Dice: After 1 Minute the Portal will close.",0; sleep2 10000; announce "Mr. Dice: Please go to the middle of Prontera 156 159 and enter the Warp Portal now if you want to join.",0; enablenpc "prtevent"; initnpctimer; end; Sooo.... where the fck do i set the time? I thought time goes by 6 digits i.e Hrs/Mins/Seconds In the entire script, all the numbers are of 5 digits. Hard life .
-
Just another Bombring Event Script
Rain408 replied to Ninja's topic in Game, Event, Quest Script Releases
@jezznar Is it possible to script it so that when player die to Bombring they get auto warp to like another area than get warp to their save point? Because I want to encourage the event by, when if you lose you get warp to a 2nd area where you can talk to a npc get like some kind of 2nd place reward then get warp back to your save point. -
Thank you github help out a lot
-
So I paid for a service to set up a server and wanted to remove some npc forever but don't know how. I know there a command where i can just kill the npc, but it will appear again upon npc reload. The program im using is WinSCP. & While I'm at it, what is the sql for? I notice when i make changes on the SQL it doesnt appear in game.
-
Thanks, ill test it and see how it works