Jump to content

Syouji

Members
  • Posts

    1245
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Syouji

  1. Hello everyone. I've been having this weird issue where if I restrict a set of items in the db/item_noequip.txt file and add the mapflag mapname[tab]restricted[tab]8 in the conf/mapflag/restricted.txt file, it won't take effect in the actual map itself. The map is PvP Enabled and here is what I have configured: Note: If I dont use the setmapflag command in oninit and instead use the mapflag function after the script the mapflag function won't work. Setmapflag seems to work for everything else BUT the restricted 8. item_noequip.txt 601,8 //Fly Wing - not really needed here but ... 602,8 //Butterfly Wing - also not needed 12212,8 //Giant Fly Wing 17284,3 // Refined Fly Wing 17285,3 // Refined Butterfly Wing 14582,8 14583,8 14584,8 14585,8 501,8 // Red Potion 502,8 // Orange Potion 503,8 // Yellow Potion 504,8 // White Potion 507,8 // Red Herb 508,8 // Yellow Herb 509,8 // White Herb 512,8 // Apple 513,8 // Banana 515,8 // Carrot 516,8 // Sweet Potato 517,8 // Meat 518,8 // Honey 519,8 // Milk 520,8 // Hinalle Leaflet 521,8 // Aloe Leaflet 522,8 // Mastela Fruit 526,8 // Royal Jelly 528,8 // Monster Food 529,8 // Candy 530,8 // Candy Cane 531,8 // Apple Juice 532,8 // Banana Juice 534,8 // Carrot Juice 535,8 // Pumpkin 536,8 // Ice Cream 537,8 // Pet Food 538,8 // Well Baked Cookie 539,8 // Piece of Cake 540,8 // Falcon Food 541,8 // Peco Peco Food 544,8 // Fish Slice 545,8 // Red Slim Potion 546,8 // Yellowe Slim Potion 547,8 // White Slim Potion 549,8 // Yam 550,8 // Rice Cake 551,8 // Sushi 552,8 // Ketupat 553,8 // Bao 554,8 // Mochi 555,8 // Traditional Rice Cake 556,8 // Rice Cake Stick 557,8 // Neatly Sliced Rice Cake 558,8 // Chocolate 559,8 // Hand-Made Chocolate 560,8 // Hand-made White Chocolate 561,8 // White Chocolate 562,8 // Doublecrust Swiss Fondue 563,8 // Doublecrust Swiss Fondue 564,8 // Rice Ball 565,8 // Vita 500 566,8 // Tom Yum Goong 567,8 // Shrimp 569,8 // Novice Potion 570,8 // Lucky Candy 571,8 // Lucky Candy Cane 572,8 // Lucky Cookie 573,8 // Chocolate Drink 574,8 // Egg 575,8 // 2nd Anniversary Cake 576,8 // Prickly Fruit 577,8 // Bag of Grain 579,8 // Fresh Fish 580,8 // Bread 581,8 // Edible Mushroom 582,8 // Orange 583,8 // Ketupat 584,8 // Fish Ball Soup 585,8 // Brusti 586,8 // Mother's Cake 587,8 // Red Thorn Fruit 588,8 // Spaghetti 589,8 // Pizza 590,8 // Brezel 591,8 // Caviar Pancake 592,8 // Strawberry Jam Pancake 593,8 // Honey Pancake 594,8 // Sour Cream Pancake 595,8 // Mushroom Pancake 597,8 // Lovely Choco Tart 598,8 // Light Red Potion 599,8 // Light Orange Potion 11500,8 // Light Yellow Potion 11501,8 // Light White Potion 11503,8 // Siege White Potion 11701,8 // Girl Bunch of Flowers 11703,8 // Mystery Blood 11704,8 // Ketupat 12021,8 // Pork 12022,8 // Galbi // -> percentheal x,x 607,8 // Yggdrasil Berry 608,8 // Yggdrasil Seed 663,8 // Korean Rice Cake 685,8 // Ramadan 12027,8 // Giggling Box 12135,8 // Green Ale 12188,8 // Fantastic Moon Snack 12192,8 // Pumpkin Pie 12196,8 // Hearty Rice Cake 12197,8 // Salty Rice Cake 12233,8 // Kvass 12234,8 // Fierce Cacao 99% 12236,8 // Chocolate Tart 12237,8 // Dollop of Chocolate 12245,8 // Green Ale 12257,8 // Cold Medicine 12271,8 // Military Rations 12274,8 // Gold Pill 1 12704,8 // Elixir of Life 12709,8 // Guyak Candy 14522,8 // Big Bun 14524,8 // Superb Fish Slice [/codeBOX] [size=5][b]restricted.txt[/b][/size] [b](There is a tab b/w restricted and 8)[/b] [code] lum_pvp1 mapflag restricted 8 [/code] [size=5][b]PvP Script[/b][/size] [b](Only the mapflag parts)[/b] [codeBOX] OnInit: setcell "guild_vs2", 46, 46, 46, 46, cell_walkable, 0; setcell "guild_vs2", 46, 46, 46, 46, cell_shootable, 0; setmapflag "lum_pvp1",mf_restricted, 8; setmapflag "coliseum4",mf_restricted, 8; setmapflag "guild_vs2",mf_nobranch; setmapflag "lum_pvp1",mf_nobranch; setmapflag "coliseum4",mf_nobranch; setmapflag "coliseum4",mf_pvp_noguild; setmapflag "guild_vs2",mf_pvp_noguild; setmapflag "lum_pvp1",mf_pvp_noguild; setmapflag "coliseum4",mf_nomemo; setmapflag "guild_vs2",mf_nomemo; setmapflag "lum_pvp1",mf_nomemo; setmapflag "coliseum4",mf_noteleport; setmapflag "guild_vs2",mf_noteleport; setmapflag "lum_pvp1",mf_noteleport; setmapflag "coliseum4",mf_nosave; setmapflag "guild_vs2",mf_nosave; setmapflag "lum_pvp1",mf_nosave; setmapflag "coliseum4",mf_nowarp; setmapflag "guild_vs2",mf_nowarp; setmapflag "lum_pvp1",mf_nowarp; setmapflag "coliseum4",mf_noreturn; setmapflag "guild_vs2",mf_noreturn; setmapflag "lum_pvp1",mf_noreturn; setmapflag "coliseum4",mf_nowarpto; setmapflag "guild_vs2",mf_nowarpto; setmapflag "lum_pvp1",mf_nowarpto; setmapflag "coliseum4",mf_nopenalty; setmapflag "guild_vs2",mf_nopenalty; setmapflag "lum_pvp1",mf_nopenalty; setmapflag "coliseum4",mf_nocommand; setmapflag "guild_vs2",mf_nocommand; setmapflag "lum_pvp1",mf_nocommand; end; } //End of the entire PvP Script [/codeBOX] - Bump - Anyone have an idea of what could be wrong? If you require additional info please let me know and I'll provide it for you. - bump -
  2. Here are the areas I was talking about. Case 1: (Msg Box Freezes Fix that had no close button when you whisper the NPC to check your kills IF you didnt have a contract) Before: MO_NoContract: next; mes "[Map Of The Week]"; mes "You are not under a contract"; close; After: MO_NoContract: mes "[Map Of The Week]"; mes "You are not under a contract"; close; Case 2: (NPC states that no map of the week has been assigned if the player checks the MOTW NPC by clicking and NOT whispering when there isnt one) Before: switch(select("^00FF00•^000000Check Map Of The Week","^00FF00•^000000Check Rewards","^00FF00•^000000Contract Status","^00FF00•^000000Sign a Contract","^00FF00•^000000Commands","^FF0000•^000000Nothing")) { case 1: next; mes "[Map Of The Week]"; mes "The Map Of The Week Is ^FF0000"+$MOTW$+"^000000."; close; After: switch(select("^00FF00•^000000Check Map Of The Week","^00FF00•^000000Check Rewards","^00FF00•^000000Contract Status","^00FF00•^000000Sign a Contract","^00FF00•^000000Commands","^FF0000•^000000Nothing")) { case 1: next; if($MOTW$ == ""){ mes "The Map Of The Week has not been assigned."; close; } mes "[Map Of The Week]"; mes "The Map Of The Week Is ^FF0000"+$MOTW$+"^000000."; close; Case 3: (Prevent player from purchasing a contract if no map of the week has been assigned fix) Before: case 4: next; mes "[Map Of The Week]"; mes "Do you want to buy a contract?"; if(select("Yes:NO")-1) { mes "[Map Of The Week]"; mes "So Long Looser"; atcommand "@die"; close; } After: case 4: next; mes "[Map Of The Week]"; if($MOTW$ == ""){ mes "The Map Of The Week has not been assigned. You cannot purchase a contract at this time."; close; } mes "Do you want to buy a contract?"; if(select("Yes:NO")-1) { mes "[Map Of The Week]"; mes "So Long Looser"; atcommand "@die"; close; }
  3. Did you make sure the server's mapcache is up-to-date with the map's GAT file?
  4. I also noticed that if you choose random map option it picks maps that dont exist. For example: it chose prt_fild00 as the MOTW when i hit random map. Another thing is if you whisper the NPC for your kills if you dont have a contract, the message box window pops up empty with no close button and you can't exit the chat unless you relog. EDIT: The random map generator was my fault. It works fine.
  5. 455 (999 545 replies to go~)
  6. for damage reduction against Demi-Human use: bonus2 bSubRace,7,5; (7 = demi human, 5 = % Reduction)
  7. Here is a ready-to-go copy of BrowEdit 586. Its the same version I use except it has organized models/textures and updated water and effects. Go to the data/ro.xml in the BrowEdit folder and add your rdata.grf and data.grf pathways. Also you can extract the 7zip file with "7zip Extraction Program" OR WinRAR. Download link: http://www.mediafire.com/?m9y7b8lryd70bcx
  8. Try the following. Note that this for cases where you choose where the MvP Spawns. If you wanted an MvP spawn in a completely random location use the next script: - script TestMvP -1,{ if(mobcount("prt_fild08","TestMvP::OnMyMobDead") >= 1){ end; } OnMinute00: switch(rand(1,3)){ case 1: set .@x,51; set .@y,55; break; case 2: set .@x,94; set .@y,211; break; case 3: set .@x,110; set .@y,241; break; } //End Switch monster "prt_fild08",.@x,.@y,"--ja--",1039,1,"TestMvP::OnMyMobDead"; end; OnMyMobDead: if(mvpdead != 1){ announce "You killed the baphomet! Come see me for your reward.",3; set mvpdead, 1; end; } } //End of Script [/codeBOX] [codeBOX] - script TestMvP -1,{ if(mobcount("prt_fild08","TestMvP::OnMyMobDead") >= 1){ end; } OnMinute00: monster "prt_fild08",0,0,"--ja--",1039,1,"TestMvP::OnMyMobDead"; end; OnMyMobDead: if(mvpdead != 1){ announce "You killed the baphomet! Come see me for your reward.",3; set mvpdead, 1; end; } } //End of Script [/codeBOX]
  9. Have a GM add their own fact message? Make a character limit and it will create a new case in a string array. Also make it so you can delete or edit a message.
  10. Nice script. I saw something in the script that you will need to change. Under OnNPCKIllEvent: Change: if (#MOTWKI >= 10000) goto MO_ContractEnd; To This if (#MOTWKI >= @motwkill) goto MO_ContractEnd; This enables players to change the max kills per contract and have it being checked on the monster kill events.
  11. Ahhhhhh wow that explains it XD. I feel stupid now LOL. Ya Its always good to stay away from generic names for npcs as its quite possible there will be a duplicate somewhere. Thanks guys!
  12. The entire script works fine. I got the instance working and all however after I kill all 300 monsters and then kill the boss I get an error that it couldnt call the OnMyMVPDead. The instance tag + the name wouldnt be called. It had an error that it couldnt find it.
  13. So no one had issues on theirs? Odd. I didn't touch the script or anything. Did everything you provided in the 7zip file ;o
  14. Awesome job Arcenciel! Thank you for making the script customizable with many configuration options. =) 10/10!!!! EDIT: Getting an error for the NPCKILL event for the Final Boss. [Error]: npc_event: event not found [dup_1_110012402::OnMyMVPDead] Not sure if everyone else is getting this. This occurs AFTER you kill the final monster which is after you killed the 300 little dudes.
  15. 1.) Open your Map 2.) Go to Windows -> Water 3.) Change the value of Height to -20 Save. 4.) Go to Global Height Edit Mode. Click CTRL + A and press Page UP to raise the height of the map above the water line. 5.) Go to Object Group Edit, then click View -> Top Camera. Select and highlight a red box border around the entire map to select ALL the objects. 6.) Click Page Up to raise the height of your objects below the map and align them properly to the ground level of your newly raised terrain. 7.) Upon completion of alignment, save your map. ..Done Note: Recommend you use BrowEdit Revision 586
  16. He stated that this project will be open source, so I would imagine the community would work together to build a customizable browser based server.
  17. This is the edit I made to your map. I changed / altered the waterfall effects as well. Download
  18. Hey Najara, great job on your new town map Lucie. I would like to ask why you chose to use a texture radius of 8x8 instead of 4x4? 4x4 textures always hold true when texturizing the ground floor (anything greater will become pixelated). Overall, good job on the architecture look. There were a couple of cases where object heights were not aligned with the ground as well as walkable GATS appeared randomly around the map. So I fixed up the textures issue, models issue, gats issues and I also redid the lightmaps as there were really dark shadows all over the mountains. 8/10 Overall and I really appreciate the free release on this one. =)
  19. A really easy way to get rid of it is to simply add a black texture border line (1x1) all around the border line of your map AFTER you calculated lightmaps. Black-Texture Border Line Preview in BrowEdit Map Preview In-Game with the Border Line Fix (Lightmap Shadows Look Much Better)
  20. This is probably why its not working: http://www.eathena.ws/board/index.php?showtopic=207731
  21. Wow jTynne, this is so kind of you to release this for free. Really appreciate this. ^^
×
×
  • Create New...