Jump to content

Luffy

Members
  • Content Count

    303
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Luffy


  1. Error :[Warning]: Unexpected type for argument 1. Expected string.[Debug]: Data: variable name=' .@i ' index=0[Debug]: Function: waitingroom[Debug]: Source <NPC>: Fuck me if you Can at prontera <159,184>[Warning]: Unexpected type for argument 1. Expected string.[Debug]: Data: variable name=' .@i ' index=0[Debug]: Function: announce[Debug]: Source <NPC>: Fuck me if you Can at prontera <159,184> 

     

     

    maybe because of this?

     

        for(.@i = 10; .@i > 0; .@i--) {        announce .@i,0;        waitingroom .@i,0;        sleep 1000;        delwaitingroom;    } 

  2.  

     

    got an error on --> .arraysize

     

    and also this

     

    bme10.jpg

     

    1. .arraysize var is not used so i remove it

    2. ass @@Garr said, so i make it set when npc got started

    Both .@item and .@amount are not set within the script before being called here, so they are 0. That's why you're getting errors.

     

    3. Added rounds setting as requested

     

     

    Wow Thank you, i didnt know that getvariableofnpc hehe thumbs up, BTW one question

    how can i announce it in Words not in ID number of the item.

     

    " + getitemname( .item )+" doesnt work it shows Null.


  3. How do you want it to work, everyone gets the same item, or each player gets his own?

     

    Main problem lies here:

     

     

    if (countitem(.@item) < .@amount) {		mes "You don't have my requirements";		close;	}	delitem .@item, .@amount;	getitem .p, .a;	announce "Yayks! " + strcharinfo(0) + " won the event",0;	disablenpc "BringMeEvent";	end;
    Both .@item and .@amount are not set within the script before being called here, so they are 0. That's why you're getting errors. I'd fix it, but I'm a bit unsure on how you want this event to run.

     

    ETA: Also, a side question, isn't it a bit strange to ask for item 7227 in the amount of 1~100, and reward with 5 of same item? Sounds like a fraud to me ._.

     

     

    the thing is i want it to be a usual Bring me Event, but you can set the items to be bring brought on the npc with random amount,

    and also im trying to make it 5 to 10 rounds before the event end.

    and the result is this, im pretty mess up on this. XD haha im really noob on the arrays or and something.

    still learning , hope you understand XD

     

     

     

    Sorry on the 7227 its just a testing purposes. will be remove it work.


  4.  

    @BringMeItems[0]

    @arraysize

     

    if you logout two variable above will be remove. try to use:

    .BringMeItems[0]

    .arraysize

     

    and

    .arraysize, getarraysize(.BringMeItems);
    to

    set .arraysize, getarraysize(.BringMeItems);

     

     

    still got this error when clicking the NPC

    bme10.jpg


  5. i setup this script but it seems nothing happen if i loaded it on server.

     

    -	script	GMCONTROL	-1,{OnInit:set $gmcontrol,90;end;}-	script	bmevent	-1,{OnWhisperGlobal:if(getgmlevel() >= $gmcontrol) {mes "^3399FF[BringMeEvent]^000000";	mes "Hello GameMaster!";mes "What do you want to do?";switch(select("Start Event:Stop Event:Nothing")){	case 1: 	{		next;		mes "^3399FF[BringMeEvent]^000000";		mes "Please confirm by typing START."; 		input .@confirm$;          		if (.@confirm$ == "START") 		{			donpcevent "Announcer2::OnGMStart"; 			close;		}		mes "Confirmation failed";		close;		break;	}	case 2:	{		next;		mes "^3399FF[BringMeEvent]^000000";		mes "Please confirm by typing STOP."; 		input .@confirm$;          		if (.@confirm$ == "STOP") 		{			donpcevent "Announcer2::OnGMStop";			close;		}		mes "Confirmation failed";		close;		break;			}						case 3:	{		next; mes "^3399FF[BringMeEvent]^000000";		mes "Good bye"; 		close;	}}}}//====================ANNOUNCER======================-	script	Announcer2	-1,{OnGMStart:	announce "(BringMeEvent) : A Gamemaster started a Bring Me Event now.",0;	sleep 3000;	announce "(BringMeEvent) : If you want to join, come at the middle of Prontera",0;	enablenpc "BringMeEvent";	sleep 2000;	announce "(BringMeEvent) : Prize: will be TCG and 1x Elite Siege Supply Box",0;	sleep 2000;	announce "(BringMeEvent) : Hurry Now!.",0;  	sleep 2000;	announce "(BringMeEvent) : GAME STARTED.",0;	end;	OnGMStop:	announce "A Gamemaster has stopped the Bring Me Event",0;	disablenpc "BringMeEvent";	end;}prontera,150,150,0	script	BringMeEvent	100,{	if (countitem(.@item) < .@amount) {		mes "You don't have my requirements";		close;	}	delitem .@item, .@amount;	getitem .p, .a;	announce "Yayks! " + strcharinfo(0) + " won the event",0;	disablenpc "BringMeEvent";	end;				.@i = rand( getarraysize(@BringMeItems) );		.@item = @BringMeItems[ .@i ];		.@amount = rand(1,100);		announce "Bring me " + .amount + "x " + getitemname( .item ),0;		enablenpc "BringMeEvent";		end;	OnInit:		setarray @BringMeItems[0],501,7227,4001,7005,909,512,714;		set @arraysize,getarraysize(@BringMeItems);		.p = 7227;		.a = 5; 		disablenpc "BringMeEvent";		end;		}

     

     


  6. [Debug]: mapindex_name2id: Map "eden" not found in index list![Debug]: mapindex_name2id: Map "eden" not found in index list![Debug]: mapindex_name2id: Map "eden 90" not found in index list![Debug]: mapindex_name2id: Map "eden" not found in index list![Debug]: mapindex_name2id: Map "eden" not found in index list![Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '380'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '399'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '402'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '405'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '408'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '411'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '414'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '417'. Skipping line...[Debug]: mapindex_name2id: Map "eden_pvp" not found in index list![Error]: npc_parsesrcfile: Unknown map 'eden_pvp' in file 'npc/custom/scpvp_manager.txt', line '418'. Skipping line... 

    got errors

     

    i got no eden XD

     

     

     

    BTW, the rest of the script working Fine ,,

     

    i must say., im just a Spriter and can correct or modify script, i should signing up for a Fan club too  haha XD

     

    Hope to see more Features being add here. i love it :)


  7. This is great work.

     

    :D

     

    Will this be for release eventually?

    Yes, as Noted on my First Post.

     

    on my first post.

    Just so you know , after i finish this stuff i want to sell them and then

    Contribute to Yommy so he can Release Updates on 2015 STABLE clients and much more.

     

    New Updates:

     

     

    Just Finished My

    Fire Aura :D I think it looks CooL

     

     

    - Fire Aura


  8. so what are we ganna use? @_@ im bit confused about it. XD sorry.

    i thought downloading the Data on this project will provided complete and compatible to 2015exe.

    but why deleted it? please enlighten me :D haha

×
×
  • Create New...

Important Information

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