Jump to content

Alayne

Members
  • Content Count

    345
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by Alayne


  1. Hum as far as Haru's scriptchecker can say, there's no error in it. Thought I've never used an array declaration like that

    setarray $Gramps_Turn, BATHORY, WASTE_STOVE, ISILLA, WANDER_MAN, ACIDUS_, WHIKEBAIN;

    Maybe you can try to change to use the mobs id...


  2. Well no, you're not necessarily needing to add monsters in database if you use allready existing ones. on the other hand, do you defined $Gramps_Turn and $Gramps_Last somewhere? Cause this is where the monsters are read from.

    For the other errors, it's apparently an error on script init. But can you provide the script? Cause right now, it's hard to say anything like that.


  3. TouchDown - Battleground Addon


    A Battleground Addon based over S4 League TouchDown mode, where players may fight until the end of the delay configured to earn as much points as possible.

    You'll earn points by killing players, or by bringing the Poring Ball to the Goal of the opposite team.

    The highest points rate will be rewarded, others will too but in a lowest range.

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @tdboard, to get a score board for each player in game


     


  4. Deus Ex - PvP Addon


    Come to join a pvp match where you'll have to defeat as much ennemies as possible before God decide you'll have to die

    The highest points rate will be rewarded, others will too but in a lowest range.

    At start, you'll have a random amount of time to earn as much points as possible. Cause a God may come back to Midgard to punish you. Kill him to earn an insane amount of point. But if he kills you, his wrath will consume your points!

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @deboard, to get a score board for each player in game

     

    Credits: Do not claim my work as yours.

    Feel free to use it, even modify it, but leave the credit on file header

     


     


  5. PvPvM - PvP Addon


    Come to join a pvp match where you'll have to defeat all players and survive to monsters attack to be the first.

    The highest points rate will be rewarded, others will too but in a lowest range.

    When all players will join, the fight will start and pop some bunch of monsters choosen randomly. The stronger they are, the more point they'll brought. On the other hand, killing a player will bring as much point as possible

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @pvpvmboard, to get a score board for each player in game

     

    Credits: Do not claim my work as yours.

    Feel free to use it, even modify it, but leave the credit on file header


     


  6. Death Match - Battleground Addon


    Come to join a Battleground match where you'll have to defeat all ennemies to earn points

    Death Match is a battleground addon where players may fight until the end of the delay configured to earn as much points as possible.

    The highest points rate will be rewarded, others will too but in a lowest range.

    Each team will count 6 players at start, and killing them will bring points to the opposite team.

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @dmboard, to get a score board for each player in game

     

    Credits: Do not claim my work as yours.

    Feel free to use it, even modify it, but leave the credit on file header


     


  7. Captain - Battleground Addon


    Come to join a Battleground match where you'll have to defeat all Captains ennemies before going anymore further

    Captain is a battleground addon where players may fight until the end of the delay configured to earn as much points as possible.

    The highest points rate will be rewarded, others will too but in a lowest range.

    Each team will count 5 Captains at start, bringing 5 points when you kill one. When a Captain died, he'll raise again as a normal player, but killing him will only bring 1 point. Kill all Captains to get the full team back!

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @cboard, to get a score board for each player in game

     

    Credits: Do not claim my work as yours.

    Feel free to use it, even modify it, but leave the credit on file header


     


  8. Vampire Bal - PvP Addon


    Join the Vampire Bal and be the last Guest to survive

    A PvP Addon where players may fight until the end of the delay configured to earn as much points as possible.

    The highest points rate will be rewarded, others will too but in a lowest range.The only thing to notice is that dying will make you lose points, while killing others will steal them points, and ensure you a full healing! That's what it is to become a Vampire!

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @vbboard, to get a score board for each player in game

     

    Credits: Do not claim my work as yours.

    Feel free to use it, even modify it, but leave the credit on file header


     


  9. Battle Royal - PvP Addon


    A PvP Addon where players may fight until the end of the delay configured to earn as much points as possible.

    The highest points rate will be rewarded, others will too but in a lowest range.

    Enables first player to configure the game duration at will (5, 10 or 15 minutes), and diffuse announce for players attraction.

    Configuration enabled: Price to enter, number of player to start the game, duration enabled

    Command: allowing use of @brboard, to get a score board for each player in game


     


  10. Hello peoples,

    This post is more a "link to others" than a post in itself.

    As I stated some ago that I never really wrote a script for PvP (in the most basic meaning of it), I decided last week-end to start writing some.

    But as I'm a bit...let's say 'mad', I didn't wrote one or two, but 15.

    This includes a non exhaustive list of:

    -8 PvP scripts (Battle Royal, Royal Rumble, Deus Ex, PvPvM, Vampire Bal, Clone Defense, Rotative Hunt and Mistery Case)

    -5 Battle ground scripts, based over the games in S4 League (Captain, Death Match, Captain, Siege, TouchDown)

    -1 Reaper, based over the game of the same name in S4 League too.

    -1 'improved' battleground, as it's a 4 team fight.

    I'll start to release those scripts in the week end (need some time for small edits before releasing them), and I'll all the scripts in this one and only topic, to ensure the access will be centralized for those who may want to get several.

    I don't know yet if I'll make it paid scripts, as the initial goal was to provide it for free, but the hardest took me a bunch of time to write and debug. So I guess some will be free, and some will be paid ones.

    Hope you'll like it, peoples!

     

    Edit: Here we go, first link added


  11. Yep, that's the concept and why I can't present it as a Dungeon or an Instance.

    When entering, players must see each others, and collaborates as some condition to access boss room will require a certain team composition, a certain amount of players...and so on.

    So yes. It is an adaptation of SAO. The only "limit" is that the boss access is limited to Team, as a Raid system doesn't really exists in RO


  12. Can't test it, but this should do the job.

    
    prontera,155,155,4	script	Refined Shop::alresho	4_F_06,{
    	set .@npcname$, "[Refined Shop]";
    	mes .@npcname$;
    	mes "Hello to you!";
    	mes "I can sell you some allready refined stuffs.";
    	mes "Interested?";
    	set .@menu$, "";
    	for(set .@i,0; .@i<getarraysize(.stuffIds); set .@i,.@i+1)
    	{
    		set .@menu$, .@menu$ + (.@i == 0 ? "" : ":") + getitemname(.stuffIds[.@i]);
    	}
    	set .@choice, select(.@menu$) - 1;
    	next;
    	mes .@npcname$;
    	mes "We're going for a " + getitemname(.stuffIds[.@choice]) + ", right?";
    	mes "It'll cost you " + .price[.@choice] + " " + getitemname(.currency) + ", ok?";
    	if(select("Yes","No") == 1)
    	{
    		if(countitem(.currency) >= .price[.@choice])
    		{
    			delitem .currency, .price[.@choice];
    			getitem2 .stuffIds[.@choice], 1, 1, 7, 0, 0, 0, 0, 0;
    		}
    		next;
    		mes .@npcname$;
    		mes "Right! See you!";
    	}
    	close;	
    	
    OnInit:
    	setarray .stuffIds[0],2424,2528;
    	setarray .price[0],1,2;
    	set .currency, 512;
    	end;
    }

    Tell me if there's an issue.


  13. By myself, I'll do it this way, as we want it to happen through several maps:

    -	shop	#annie_shop	-1,501:50,502:50,503:50
    
    prontera,155,155,4	script	Annie Shop::alansho0	757,{
    	callshop "#annie_shop", 0;
    	npcshopattach "#annie_shop";
    	end;
    	
    OnBuyItem:
    	callsub OnHideAllNpcs;
    	goto OnUnhideOne;
    	dispbottom "Teleported NPC to " + .@map$ + " (" + .@x + ", " + .@y + ")";
    	end;
    	
    OnHideAllNpcs:
    	for(set .@i,0; .@i<.maxNpcLocation; set .@i,.@i+1)
    	{
    		hideonnpc "alansho" + .@i;
    	}
    	return;
    	
    OnUnhideOne:
    	set .@rand, rand(0,9);
    	doevent "alansho" + .@rand + "::OnUnHide";
    	end;
    	
    OnUnHide:
    	do
    	{		
    		set .@movex,rand(0,150);
    		set .@movey,rand(0,150);
    		set .@map$,strcharinfo(3);
    	}
    	while(!checkcell(.@map$,.@movex,.@movey,cell_chkpass));
    	movenpc strnpcinfo(3),.@movex,.@movey;
    	hideoffnpc strnpcinfo(3);	
    	end;
    	
    OnInit:
    	set .maxNpcLocation, 10;
    	if(strnpcinfo(3) == "alansho0")
    	{
    		callsub OnHideAllNpcs;
    		goto OnUnhideOne;
    	}
    	end;
    }
    
    hugel,155,155,3	duplicate(alansho0)	Annie Shop::alansho1	757
    yuno,155,155,3	duplicate(alansho0)	Annie Shop::alansho2	757
    comodo,155,155,3	duplicate(alansho0)	Annie Shop::alansho3	757
    xmas,155,155,3	duplicate(alansho0)	Annie Shop::alansho4	757
    aldebaran,155,155,3	duplicate(alansho0)	Annie Shop::alansho5	757
    izlude,155,155,3	duplicate(alansho0)	Annie Shop::alansho6	757
    payon,155,155,3	duplicate(alansho0)	Annie Shop::alansho7	757
    geffen,155,155,3	duplicate(alansho0)	Annie Shop::alansho8	757
    morocc,155,155,3	duplicate(alansho0)	Annie Shop::alansho9	757

    Can't test it, but I've it for other npcs. Just place the npcs where you want (map speaking), and they'll activate one randomly, located randomly, at server start and after each buy.

     


  14. I don't say there's an error with the emulator. I'm just saying that these worked with an other version, and doesn't work anymore with this one. Something might have changed somewhere, but I don't know what (maybe that on client side too, I may have changed a grf or something, but as I'm using the same diffed exe and data dir, I don't think so...). The names are also under 63 char.

    I'll re-test it tonight. 


  15. Ok so basically, this should work, is it?

     

    deletepset 1;
    	
    	defpattern 1, "(.*)", "QuoteALL";
    	activatepset 1;
    	setnpctimer 0;
    	set .Winner,0;	
    	waitingroom($seekedWord$, 0);
    	
    	end;
    	
    QuoteALL:
    	if($seekedWord$ ~= $@p0$)
    	{
    		//case sensitive check success, do sthg
    	}
    	end;

     


  16. Hello peoples!

    I'd like to create an event based on defpattern, as player may repeat a world generated randomly.

    Therefor, according to the level, the event may be partly in capital case.

    But I can't find a correct regexp to get the defpattern to match the word (and this only) with the right case.

    Knowing that here are some example of words that can be generated:

    aerght

    arhtGET

    aErgEHt

     

    Please, help!


  17. Hi peoples,

    I have an issue with a script I made some time ago.

    I wanted it to allow the use of cards, which should all (one by one) display a specific cutin according to the selected card.

    The problem is, even though I added all the cutins, none of those show when i use the cutin function.

    "normal" ones (allready packed in data, mean) works well, but none of my custom.

    But i know that they works cause I've allready had it working on an older emulator version...

    Does anybody know what can possibly happens?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.