Jump to content

yehboyy

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by yehboyy

  1. @Jb Roxas: My script already supports multiple categories, if you read the configuration notes. Add them to this line:

    setarray .Shops$[1],"Headgears","Weapons","Misc";

    Then in the Add() function, the first value is the category number (1, 2, 3, or 4, in your case).

    I think he's asking how to set up 4 different npc's instead of using the categories.

  2. So ive been using this script, but i've been getting this [debug]

    [Debug]: Function: setcell (7 parameters):
    [Debug]: Data: string value="prontera"
    [Debug]: Data: number value=148
    [Debug]: Data: number value=162
    [Debug]: Data: number value=163
    [Debug]: Data: number value=194
    [Debug]: Data: variable name='cell_nochat'
    [Debug]: Data: number value=1
    [Debug]: Source (NPC): ChatBlock_Prontera at prontera (0,0)
    [Warning]: script:get_val: cannot access player variable 'cell_nochat', defaulting to 0
    

    Script

    prontera.gat,0,0,0 script ChatBlock_Prontera::PRT_CHATBLOCK -1,{
    OnInit:
     setcell "prontera",148,162,163,194,cell_nochat,1;
     setcell "prontera",147,196,147,177,cell_nochat,1;
     setcell "prontera",146,196,146,178,cell_nochat,1;
     setcell "prontera",145,196,145,179,cell_nochat,1;
     setcell "prontera",144,196,144,180,cell_nochat,1;
     setcell "prontera",143,196,143,181,cell_nochat,1;
     setcell "prontera",142,196,142,182,cell_nochat,1;
     setcell "prontera",141,196,141,183,cell_nochat,1;
     setcell "prontera",140,196,140,184,cell_nochat,1;
     setcell "prontera",139,196,139,185,cell_nochat,1;
     setcell "prontera",138,196,138,186,cell_nochat,1;
     setcell "prontera",137,196,137,187,cell_nochat,1;
     setcell "prontera",136,196,136,188,cell_nochat,1;
     setcell "prontera",135,196,135,189,cell_nochat,1;
     setcell "prontera",134,196,134,190,cell_nochat,1;
     setcell "prontera",133,196,133,191,cell_nochat,1;
     setcell "prontera",132,196,132,192,cell_nochat,1;
     setcell "prontera",131,196,131,193,cell_nochat,1;
     setcell "prontera",130,196,130,194,cell_nochat,1;
     setcell "prontera",129,196,129,195,cell_nochat,1;
     setcell "prontera",128,196,128,196,cell_nochat,1;
     setcell "prontera",164,196,164,177,cell_nochat,1;
     setcell "prontera",165,196,165,178,cell_nochat,1;
     setcell "prontera",166,196,166,179,cell_nochat,1;
     setcell "prontera",167,196,167,180,cell_nochat,1;
     setcell "prontera",168,196,168,181,cell_nochat,1;
     setcell "prontera",169,196,169,182,cell_nochat,1;
     setcell "prontera",170,196,170,183,cell_nochat,1;
     setcell "prontera",171,196,171,184,cell_nochat,1;
     setcell "prontera",172,196,172,185,cell_nochat,1;
     setcell "prontera",173,196,173,186,cell_nochat,1;
     setcell "prontera",174,196,174,187,cell_nochat,1;
     setcell "prontera",175,196,175,188,cell_nochat,1;
     setcell "prontera",176,196,176,189,cell_nochat,1;
     setcell "prontera",177,196,179,190,cell_nochat,1;
     setcell "prontera",178,196,178,191,cell_nochat,1;
     setcell "prontera",179,196,179,192,cell_nochat,1;
     setcell "prontera",180,196,180,193,cell_nochat,1;
     setcell "prontera",181,196,181,194,cell_nochat,1;
     setcell "prontera",182,196,182,195,cell_nochat,1;
     setcell "prontera",183,196,183,196,cell_nochat,1;
     setcell "prontera",154,197,157,195,cell_nochat,1;
     setcell "prontera",164,175,164,166,cell_nochat,1;
     setcell "prontera",147,172,147,175,cell_nochat,1;
     end;
    }
    

  3. I get this error sometimes just randomly going back to town.

    Time Stamp: 0x4c3c2f9f - Tue Jul 13 02:19:27 2010

    Exception Type: 0xc0000005

    0x0041d394 bin.exe

    0x00547e52 bin.exe

    0x006248cf bin.exe

    0x0061e483 bin.exe

    0x0061ef54 bin.exe

    0x006201e0 bin.exe

    0x005e70c8 bin.exe

    0x005f2f40 bin.exe

    0x005a147c bin.exe

    0x005a1406 bin.exe

    0x006ff573 bin.exe

    0x00713aad bin.exe

    0x75863677 kernel32.dll

    0x774f9f42 ntdll.dll

    0x774f9f15 ntdll.dll

    eax: 0x00000021 ebx: 0x25dd2440

    ecx: 0x00002710 edx: 0x00000510

    esi: 0x25dd2414 edi: 0x0000000e

    ebp: 0x00189b64 esp: 0x00189974

    stack 00189974 - 00189d74

    00189974 : 9E 9C 18 00 00 00 00 00 B0 2E D7 25 70 59 6D 00

    00189984 : 57 42 57 00 38 27 3B 00 FF D6 E4 00 FF BE D6 00

    00189994 : FF A6 C8 00 F6 90 BB 00 ED 7A AE 00 40 75 A1 00

    001899A4 : 00 00 00 00 00 00 00 00 00 00 00 00 FF DE AC 00

    001899B4 : FF C0 8C 00 00 A1 71 00 00 00 00 00 00 00 00 00

    001899C4 : 00 00 00 00 67 34 29 00 00 00 00 00 01 00 00 00

    001899D4 : 02 01 01 00 03 02 01 00 04 02 02 00 05 03 02 00

    001899E4 : 06 04 03 00 08 05 04 00 FF FF DE 00 E7 E6 C8 00

    001899F4 : 00 00 00 00 00 00 AC 0C 90 86 00 00 74 EE 00 00

    00189A04 : 64 61 74 61 5C 73 70 72 69 74 65 5C C0 CE B0 A3

    00189A14 : C1 B7 5C B8 D3 B8 AE C5 EB 5C BF A9 5C 36 34 5F

    00189A24 : BF A9 2E 61 63 74 00 00 00 00 00 00 00 00 00 00

    00189A34 : 00 00 00 00 00 00 00 00 00 00 00 00 FF 00 FF 00

    00189A44 : FF 00 00 00 C8 DA C7 00 00 00 00 00 00 00 00 00

    00189A54 : AA D5 02 00 AA D9 02 00 64 61 74 61 5C 73 70 72

    00189A64 : 69 74 65 5C C0 CE B0 A3 C1 B7 5C B8 F6 C5 EB 5C

    Launch Info

    024A 0177 018E 018D 016A 016A 00A6 018E

    0000 0000 0000 0000 0000 0000 0000 0000

    0000 0000 0000 0000 0000 0000 0000 0000

    0000 0000 0000 0000 0000 0000 0000 0000

  4. Well i have a problem, when i kill the porings that spawn, it gives the error :

    [Error]: npc_event: event not found [summon Guide::L_PoringKilled]

    If anyone could help, that would be great.

    new_1-1,50,114,5	script	Leveling Guide	442,{
    if (LevelA == 0) {
    	mes "[Leveling Guide]";
    	mes "Hello " + strcharinfo(0) + "";
    	mes "I can see you're new here and are";
    	mes "in need of some assistance.";
    	next;
    	switch(select("Sure","No I'm fine")) {
    	case 1:
    		mes "[Leveling Guide]";
    		mes "Alright I'd like you to help me kill 15 porings";
    		next;
    		mes "[Leveling Guide]";
    		mes "Let me take you to somewhere special";
    		mes "When you have killed 15 porings";
    		mes "you will be warped back";
    		mes "";
    		mes "";
    		mes "^0000FFReward^000000";
    		mes "Base EXP: +70000";
    		mes "Job EXP: +50000";
    		next;
    		warp "quiz_02",363,346;
    	case 2:
    		mes "Leveling Guide]";
    		mes "Alright then, have a nice day";
    		close;
    		end;}}}
    
    quiz_02,369,351,5	script	Summon Guide	442,{
    if (LevelA == 0) {
    	mes "[summon Man]";
    	mes "Want to start the kill?";
    	next;
    	menu "Yes",L_Yes,"No",-;
    	mes "[summon Man]";
    	mes "Alright talk to me when you're ready";
    	close;
    	L_Yes:
    	monster "quiz_02",362,347,"Quest Poring",1002,15,"Summon Guide::L_PoringKilled";
    	mes "[summon Man]";
    	mes "Now go and kill all the Poring I summoned";
    	close;
    	L_PoringKilled:
    	set $PoringKilled,$PoringKilled+1;
    	if ($PoringKilled==15) goto L_AllDead;
    	end;
    	L_AllDead:
    	set $PoringKilled,0;
    	end;
    	set LevelA,1;
    	warp "new_1-1",53,111;
    	end; 
    }
    }
    

×
×
  • Create New...