Jump to content

Alexandrite

Members
  • Posts

    54
  • Joined

  • Last visited

Profile Information

Recent Profile Visitors

1772 profile views

Alexandrite's Achievements

Poporing

Poporing (4/15)

  • Dedicated
  • First Post
  • Collaborator
  • Conversation Starter
  • One Month Later

Recent Badges

0

Reputation

1

Community Answers

  1. this is example of my currently use OnInit: waitingroom "Waiting Room",20,"Peter S. Alberto#job_league::OnStartArena",1; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "job_prist$",24,44; attachrid $@warpwaitingpc; if (BaseJob == Job_Priest) { goto OnStart; }else if(BaseJob == Job_Acolyte){ donpcevent "Zombie_Generator#job_league::OnEnable"; } disablewaitingroomevent; end; OnStart: enablewaitingroomevent; end; This Code is worked... But it's wrong order because this code already trigger after you got trigger "warpwaitingnpc" and then you "attachrid" later I would like to make a room condition right after they enter the chatroom as if when you enter the room if(BaseJob == Job_Priest) or if(BaseJob == Job_Acolyte) or if(BaseJob == XXXX) I mean I want it check in the begining of when player enter the ChatRoom And I would like command to click the player that not met condition out of that Room too Is it possible ? I mean i want to make a room that people who met Condition only who can enter ? Thank you and sorry for my bad endlish
  2. here it's my script, but this script is work as individual and work as the last killed function script get_special_item { set .@item_id, getarg(0); set .@chance, getarg(1); set .@rand, rand(1, 10000); if(getstatus( SC_ITEMBOOST, 0 )){ .@chance = .@chance*2; } if(.@rand <= .@chance) { getitem .@item_id, 1; } //dispbottom .@rand+"/"+.@chance; return; } // Number Format //============================================================ function script number_format { set .@str$, getarg(0); for(set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3) set .@str$, insertchar(.@str$,",",.@i); return .@str$; } OnNPCKillEvent: // 2 : Mob Name , 3 : Mob Lv //announce "OnNPCKillEvent : "+ strmobinfo(2, killedrid),bc_all,0xFFFF00; //announce "OnNPCKillEvent : "+ strmobinfo(3, killedrid),bc_all,0xFFFF00; //announce "OnNPCKillEvent : "+ JobLevel,bc_all,0xFFFF00; //.@Point = rand(BaseLevel/2, BaseLevel)+rand(JobLevel/2, JobLevel)+(rand(strmobinfo(3, killedrid)/2, strmobinfo(3, killedrid))); .@Point = 1+rand((strmobinfo(3, killedrid)/2), strmobinfo(3, killedrid)) + rand(strmobinfo(7, killedrid)/5, strmobinfo(7, killedrid)/(9/2)); .@Point$ = callfunc("number_format", .@Point); #CASHPOINTS = #CASHPOINTS+.@Point; dispbottom "ได้รับ "+.@Point$+" พอยท์ คงเหลือ "+callfunc("number_format", #CASHPOINTS)+" พอยท์"; //for(.@i=0, .@i<10000; .@i++){ callfunc("get_special_item", 14533, 1); // Battle Manual callfunc("get_special_item", 14592, 1); // Job Battle Manual callfunc("get_special_item", 12210, 1); // Bubble Gum callfunc("get_special_item", 12209, 1); // Life Insurance callfunc("get_special_item", 12075, 1); // STR+10 Food callfunc("get_special_item", 12090, 1); // AGI+10 Food callfunc("get_special_item", 12085, 1); // VIT+10 Food callfunc("get_special_item", 12080, 1); // INT+10 Food callfunc("get_special_item", 12095, 1); // DEX+10 Food callfunc("get_special_item", 12100, 1); // LUK+10 Food callfunc("get_special_item", 12122, 1); // HIT Food callfunc("get_special_item", 12123, 1); // FLEE Food callfunc("get_special_item", 12124, 1); // ATK Food callfunc("get_special_item", 984, 1); // Oridecon callfunc("get_special_item", 985, 1); // Elunium // sleep2 1; //} end; But I would like it's work like a party loop or something I mean assume I just kill 1 monster then let OnNPCKillEvent just work but the script just check if I in party or not and if yes let make this script loop and work for the whole party or what i mean i would like everyone in party have the same chance of getting special item drop by doesn't care who's the one that killed monster, no matter who kill, whole party get the same chance is it possible ? from my opinion i think it's possible but i don't know how to make script it work > <"
  3. Like a Red Potion is 50z if you write selling npc as 501:-1 NPC would sell it at 50z but i would like NPC to sell it at 25z what code should I write? without directly put 25 Or do I need to Source Mod?
  4. Like the title said, Exclusive to store only Costume Item, Can't store another type item, is that possible? I'm not sure this topic is in the right place, because I'm not sure if this suppose to be Script or Source Mode
  5. example as if I was knight is there a way to make an equip costume that make me look like a Lord Knight or another class?
  6. OMG! and I thought I already lost hope, Thank you so much for finding it and clarify to me, it help me so much ^ ^ It worked now, like a Magic! I'm so appreciated your support!!!
  7. Can anyone help me , I want to restore msgstringtable.txt line 484 (%d)# it's show amount of Player Currenly Online In the server after server name
  8. due to Ragexe Client now no longer show Player Online Count, and I don't know which server or client that i should fix If anyone know how to mod the client to show the Player Online Count after server name, I'm appreciate it. But if it have to do with the source, right now i'm at here src/char/char_logif.cpp around the line 777 I change from //memcpy(WFIFOP(login_fd,60), charserv_config.server_name, 20); Sql_Query(sql_handle, "SELECT count(`char_id`) FROM `char` WHERE `online`>0"); char result[50]; sprintf(result, "%s(%d)", charserv_config.server_name, sql_handle); memcpy(WFIFOP(login_fd,60), result, 20); But it won't work and I don't know how to make it happend , can anyone help me please?
  9. Thank you, but I mean mag_dun just an example, I want all the maps Like prt_fild moc_fild pay_dun all I mean an entire mobs folder fields/dungeons
  10. there used to be accurated amount of monster spawn file in the past from my knowledge but after 10-15 years pass most of file all vanish, and what left is most likely the monster spawn that i found it most likely get edit on the monster spawn amount so i don't sure if the amount is true anymore
  11. I try to find accurate source, right now i already have Mobs for 5.0 (before 6.0) and i try to compare it to the old book and i found out the Monster type on each maps are all accurated but what I'm not sure is Monster amount, I mean i got the mob spawn for eathena 5.0 (from thailand) some source i look inside the mob spawn folder and found out that on a different source there are not equal amount of mob spawn some map have amount of monster more than reality like what i found out Magma dungeon I found out that Kaho is put inside mag dungeon after 5.0 , but I have to put it in ro 5.0 too, otherwise you can't find Kaho anywhere but the point is this Source that i found it's Lava golem 33 Blazer 50 etc. But when i go test in the map monster is far too much to be real and i have the old book and i compare it to the book info from the book it said amount lower
  12. I want the old (players online) like (1) like in the old past
  13. sorry how to mark as solved? yeah it's solved
  14. OMG! Thank you so much remove custom shops too , right?
×
×
  • Create New...