Jump to content

BeWan

Members
  • Posts

    381
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by BeWan

  1. 1 hour ago, Sikdope said:

    [Error]:  Loading NPC file: npc/custom/test.txt
    script error on npc/custom/test.txt line 317
        parse_line: expect command, missing function name or calling undeclared function
       312 :                        getguildmember( [email protected], 1, [email protected] );
       313 :                        [email protected]_guild = getguildmember( [email protected], 2, [email protected] );
       314 :
       315 :                        if( .Options&4 ){
       316 :                                [email protected]_cid = getguildmasterid( [email protected] );
    *  317 :                                [email protected] = inarray('.'@cid, [email protected]_cid);
       318 :                                [email protected]_aid = [email protected][[email protected]];
       319 :
       320 :                                cleararray( [email protected], 0, [email protected]_guild );
       321 :                                cleararray( [email protected], 0, [email protected]_guild );
       322 :
    [Info]: Done loading '11023' NPCs:
            -'3090' Warps
            -'223' Shops
            -'7709' Scripts
            -'4014' Spawn sets
            -'40697' Mobs Cached
            -'0' Mobs Not Cached
    [Status]: Event 'OnInit' executed with '1400' NPCs.
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Error]: npc_event: event not found [WOE_CONTROL::OnMenu]
    [Error]: npc_event: event not found [WOE_CONTROL::OnMenu]

    this is not part of my custom mod on this script. but anyway what git version you using?

  2. 18 minutes ago, M a p l e said:

    and clif.cpp?
    9> 😧 \ Ragnarok - Emulators \ rAthena \ src \ map \ clif.cpp (13057,22): error C2065: 'nameid': undeclared identifier

    		case MC_VENDING:
    			skill_vending(sd, nameid);
    			break;

     

    try this.

    case MC_VENDING:
                skill_vending(sd,p->itemId);
                break;

    • Upvote 1
  3. 47 minutes ago, M a p l e said:
    7> ------ Compilation started: Project: login-server, Configuration: Debug Win32 ------
    8> ------ Compilation started: Project: char-server, Configuration: Debug Win32 ------
    9> ------ Compilation started: Project: map-server, Configuration: Debug Win32 ------
    8> char.cpp
    7> account.cpp
    9> achievement.cpp
    9> atcommand.cpp
    9> battle.cpp
    9> battleground.cpp
    9> buyingstore.cpp
    9> cashshop.cpp
    7> ipban.cpp
    7> login.cpp
    8> char_clif.cpp
    7> loginchrif.cpp
    7> loginclif.cpp
    9> channel.cpp
    8> char_cnslif.cpp
    9> D: \ Ragnarok - Emulators \ rAthena \ src \ custom \ battle_config_init.inc (22,62): error C2065: 'MAX_ITEMID': undeclared identifier (compiling battle.cpp source file)
    9> D: \ Ragnarok - Emulators \ rAthena \ src \ custom \ battle_config_init.inc (23,62): error C2065: 'MAX_ITEMID': undeclared identifier (compiling battle.cpp source file)
    7> logincnslif.cpp
    9> chat.cpp
    9> chrif.cpp
    9> clan.cpp
    8> char_logif.cpp
    7> loginlog.cpp
    9> clif.cpp
    7> Generating Code ...
    8> char_mapif.cpp
    9> date.cpp
    9> duel.cpp
    9> elemental.cpp
    8> inter.cpp
    9> guild.cpp
    9> homunculus.cpp
    9> instance.cpp
    9> D: \ Ragnarok - Emulators \ rAthena \ src \ map \ clif.cpp (13057,22): error C2065: 'nameid': undeclared identifier
    9> intif.cpp
    8> int_achievement.cpp
    9> itemdb.cpp
    9> log.cpp
    9> mail.cpp
    8> int_auction.cpp
    9> map.cpp
    7> login-server.vcxproj -> D: \ Ragnarok - Emulators \ rAthena \ login-server.exe
    9> mapreg.cpp
    8> int_clan.cpp
    9> mercenary.cpp
    9> mob.cpp
    9> npc.cpp
    9> npc_chat.cpp
    9> party.cpp
    8> int_elemental.cpp
    9> path.cpp
    9> pc.cpp
    9> pc_groups.cpp
    8> int_guild.cpp
    9> pet.cpp
    9> quest.cpp
    9> script.cpp
    9> searchstore.cpp
    8> int_homun.cpp
    8> int_mail.cpp
    9> skill.cpp
    9> status.cpp
    9> storage.cpp
    9> trade.cpp
    8> int_mercenary.cpp
    9> unit.cpp
    8> int_party.cpp
    9> D: \ Ragnarok - Emulators \ rAthena \ src \ map \ skill.cpp (17622,32): error C2065: 'MAX_ITEMID': undeclared identifier
    9> vending.cpp
    8> int_pet.cpp
    8> int_quest.cpp
    9> Ready compilation project "map-server.vcxproj" - FAIL.
    8> int_storage.cpp
    8> Generating Code ...
    8> char-server.vcxproj -> D: \ Ragnarok - Emulators \ rAthena \ char-server.exe
    ========== Compile: 8 successful, 1 failed, 0 updated, 0 ignored ==========

     

    dont forget to declare max_itemid in battle.cpp or make it sure you follow all the instruction in b/conf/battle/feature.conf

  4. 15 hours ago, M a p l e said:

    it doesn't work, because when choosing the way to sell, Apple appears instead of the coins or item you added.

    YtCKI1o.png

    i apply this diff yesterday to latest git file and its working 100%. dm me and send your error ill help you.

  5. 2 hours ago, IsabelaFernandez said:

    hello community,
    I would like to know if it is possible to limit access to
    hair styles. For example, I use a pack with 94 styles, I would like to limit free players to only the first 29 and if you are VIP all 94 (Male) and 99 (female)
    Or would it be easier to create another NPC with only
    VIP access to 94/99 hair styles and another with only 29 for free?

    script: https://pastebin.com/GVv3pGBv

    yes you can.

  6. On 6/6/2020 at 1:30 AM, Baps said:

    Hello,

    I answer lately on this topic, i want to disable the scroll bar on my notice.html.
    I tried your answer @BeWan but without success.

     

    you need to put this on your css and call css file in your html file

    or put the code in style bracket

  7. if(@minute == 60){
    	if(getcharid(0) == player char id){
        set @minute,0;
        set [email protected]_amt, 1; //Points to get every min (default: 10)
        set #KAFRAPOINTS, #KAFRAPOINTS + [email protected]_amt;
        dispbottom "sdasfaff";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints";
        set @consecutive_hour, @consecutive_hour + 1;
    	}else{
    	message
    	}
        }
    //Check for 5 hour consecutive
        if(@consecutive_hour == 5) {
    	if(getcharid(0) == player char id){
        set @consecutive_hour,0;
        set [email protected]_amt, 100; //Points to get for 5 Consecutive hours (default: 100)
        set #KAFRAPOINTS, #KAFRAPOINTS + [email protected]_amt;
        dispbottom "dsdsdgsgs";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints";
    	}else{
    	message
    	}
        }

     

  8. 3 hours ago, gelo221 said:

    Cant Anyone Help me., how to remove scrolls bar on Thor  Patcher

    are you talking about in the notice.html or the news box?

    you need to put this on your css news box

     

    ::-webkit-scrollbar {
    display: none;
    }

     

  9. 1 hour ago, JRJ27 said:

    Hello guys. I am really weak in coding or whatsoever. I am playing a trans private server and trying to change the job sprites to 3rd Job. I found one but its not working. I dont know, maybe it cant bypass the gepard 3.0 or I am just doing the wrong thing. Can anyone give my a 3rd job GRF or help me how to change it? I tried these:

    1. Changed things in data.ini

    2.  Merged 3rd job GRF to data.grf

     

    Thank you and have a nice day.

    if you have gepard and want to update trans job class sprite you need to put it in gepard.grf and give it to functor to allow it.

    • MVP 1
  10. 17 hours ago, daShiru said:

    Yes correct every account even same ip/unique

    you need to use different script. cuz as the title says it use gepard function (unique_id)

    anyway other version of freebies npc.

    jupe_ele,41,34,5	script	Freebies	435,{
    
    if(#freebies1 == 1) goto F_1;
    
    if (BaseLevel < 1) goto L_1;
    mes "[Freebies NPC]"; 
    mes "Hi! "+strcharinfo(0)+"";
    mes "You will recieve 1 Krane Ragnarok Online Freebies";
    mes "Thanks For Joining Here , Wish Too See You in the Future.";
    next;
    
    //ITEM CONFIG
    getitem 512,1;
    
    emotion ET_THX;
    set #freebies1,1;
    close;
    
    OnInit:
    waitingroom "Freebies NPC",0;
    end;
    
    L_1:
    mes "[Freebies NPC]";
    mes "You must be level 1 to Enjoy Our Freebies";
    emotion ET_THX;
    close;
    
    F_1:
    mes "[Freebies NPC]";
    mes "Enjoy Playing Krane-RO !";
    emotion ET_STARE;
    close;
    
    }

     

    • MVP 1
×
×
  • Create New...

Important Information

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