Jump to content

Flitch

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Flitch

  1. Hello everyone !

    I was wondering if it's possible to add a "Sell All" button to a npc so you could sell all your items by one click excepting your stuff and maybe some items like arrows, cards or usable items like Old Card Albums for example.

    But it could be nice if the default sell option is there aswell, so you can still sell your arrows if you don't want them.

    Or maybe if it is possible to add a command to sell your items with some option to add the items you want to keep.

    I'm asking this because i have a macro which is an auto-click, but it doesn't work on my server. I already used it on a few server to sell faster but on some server it doesn't work.

    So is it possible to add a fonction like this ?

     

    Thanks.

  2. Thanks for your answer. I've checked the lines i changed in the iteminfo.lua file and i think they're ok.

    The only things i've changed is the Father's White Moustache description (ID : 5155) and the Gigantic Magestic Goat description (ID : 5518).

    Thanks for your help Haziel

     

    itemInfo.lua

  3. Hello everyone !

    I'm configuring  my offline server and i have a problem with a few things.

    I added a quest hat npc. He works fine until i changed the description of a few hats like Father's White Moustache in the "iteminfo.lua" file.

    But after changing the description, i don't have the image of any item anymore. And whenever i click on an item, my game crashes. I have the same problem after killing a mob.

    So from what i've understand, my bmp files are missing.

    The error on crash tells me that the sprite file .act and .spr are missing.

    Can someone help me with this issue ?

    Thanks.

     

  4. I'm adding a few news about my problem.

    Whenever i launch the renewal server (the mapserv, charserv and loginserv), the level max is 999 as i want. But if i launch the pre-renewal server (the mapserv_prere, charserv_prere and loginserv_prere), i got those errors :

    [Warning]: Value for setting 'max_lv': 999 is invalid (min:0 max:175)! Defaulting to 99...
    
    [Error]: pc_readdb_job_exp: Invalid maxlevel 999 specified.
    [Error]: sv_readdb: Could not process contents of line 14 of "db/pre-re/job_exp.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 16 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 22 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 25 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 28 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 31 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 34 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 37 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 40 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 43 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 46 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 49 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 52 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 55 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 58 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 61 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 64 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 67 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 70 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 73 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 76 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 108 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 111 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 114 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 117 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 120 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 123 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 126 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 129 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 132 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 135 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 138 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 141 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 144 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 147 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 150 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 153 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 156 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 159 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 162 of "db/pre-re/job_basehpsp_db.txt".
    [Error]: pc_readdb_job_basehpsp: Invalid start level 1 specified.
    [Error]: sv_readdb: Could not process contents of line 165 of "db/pre-re/job_basehpsp_db.txt".
    
    [Warning]: Class High Novice (4001) does not have a base exp table.
    [Warning]: Class High Swordsman (4002) does not have a base exp table.
    [Warning]: Class High Magician (4003) does not have a base exp table.
    [Warning]: Class High Archer (4004) does not have a base exp table.
    [Warning]: Class High Acolyte (4005) does not have a base exp table.
    [Warning]: Class High Merchant (4006) does not have a base exp table.
    [Warning]: Class High Thief (4007) does not have a base exp table.
    [Warning]: Class Lord Knight (4008) does not have a base exp table.
    [Warning]: Class High Priest (4009) does not have a base exp table.
    [Warning]: Class High Wizard (4010) does not have a base exp table.
    [Warning]: Class Whitesmith (4011) does not have a base exp table.
    [Warning]: Class Sniper (4012) does not have a base exp table.
    [Warning]: Class Assassin Cross (4013) does not have a base exp table.
    [Warning]: Class Lord Knight (4014) does not have a base exp table.
    [Warning]: Class Paladin (4015) does not have a base exp table.
    [Warning]: Class Champion (4016) does not have a base exp table.
    [Warning]: Class Professor (4017) does not have a base exp table.
    [Warning]: Class Stalker (4018) does not have a base exp table.
    [Warning]: Class Creator (4019) does not have a base exp table.
    [Warning]: Class Clown (4020) does not have a base exp table.
    [Warning]: Class Gypsy (4021) does not have a base exp table.
    [Warning]: Class Paladin (4022) does not have a base exp table.

    And when i change the text in the showerror part in the pc.c file and then compile the server, the showerror is still the default one.

    	maxlvl = atoi(fields[0]);
    	if(maxlvl > MAX_LEVEL || maxlvl<1){
    		ShowError("pc_readdb_job_exp: Invalid maxlevel %d specified. MAX_LEVEL=%d\n", maxlvl, MAX_LEVEL);
    		return false;
    	}

    So, is my pre-renewal part not compiling ?

    Does anyone know the solution to this ?

  5. I managed to get the refiner with the multiple times refine. I added the default rough converter and was able to adapt the script to make the max rough ori/elu.

    It works fine, the only thing is that it tells every time i get one oridecon or elunium.

    For example if i have convert 15 rough oridecon it displays this :

    You got Oridecon (1).

    You got Oridecon (1).

    You got Oridecon (1).

    Since it's an offline server and i'm the only player it's ok.

    But if someone knows how to make the rough convert part better, i'll take it =)

    Thanks.

  6. I upgraded my OS and i managed to compile my server. But i can't change the max level to 999. When i start the server, the mapserv tells me that the max level is 175.

    I've changed the max level to 999 in :

    src/map/map.h

    src/map/battle.c

    conf/battle/client.conf

    db/pre-re/job_exp.txt

    When i change the max level from the job_exp file to 175 it works.

    What can i do to solve this error ?

    Thanks for your help.

     

     

  7. Thanks for your answer.

    But i can't manage to install Windows SDK 8.1 , it always comes up with an error on the installer. I tried to uninstall the Visual C++ redistribuable (like recommended by the support), but it still doesn't work.

    Is there another tool to compile ? Or another solution ?

  8. Hello everyone !

     

    I'm configuring an offline ragnarok server. And in wanted to put a minimum experience given from different mobs in a single map.

    I want that the mobs in bio 3 give at least 1% experience. So when I'm high level, the exeprience i get from these mobs will not go under 1%.

    Is it possible to do that ? If yes, how ?

     

    Sorry for my bad english.

    Thanks

  9. Hello everyone !

     

    I'm configuring an offline ragnarok server. And i want to change the max level from 99 to 999, It's a pre-renewal server.

    I looked for a tutorial ,so I changed the value in db/import/job_exp.txt and added the xp table. The problem is, I need to compile the mapserver (from what i've understand).

    So i downloaded Visual Studio Community 2017, but when i try to build the mapserver it tells me that "The windows SDK 8.1 was not found".

    The server was already compiled when i downloaded it so i don't know how it works.

    Is it possible to change the max level without compiling ?

    Is there another way to compile it ?

    If not, how can i solve the windows SDK issue ?

     

    Sorry for my bad english.

    Thanks

  10. Hello everyone !

     

    I just installed an offline ragnarok server on my computer. I want to change the refiner npc.

    The actual one I have is an old one, he just propose to up a gear one by one.

    I want one who could up one gear one by one or up it multiple times. I would also that this npc convert my rough oridecon and rough elunium by doing the max with the roughs I have.

    Can someone help me with this npc ? 

     

    Sorry for my bad english.

     

  11. Hello everyone !

     

    I just installed an offline ragnarok server on my computer. I added a few npc. But I have a problem with my healer.

    Whenever I click on him, my character walks next to it (the npc works fine, healing, buffing, identifying and repairing stuff).

    Here's the npc's script : 

    //===== rAthena Script =======================================
    //= Healer
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.1
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= Basic healer script.
    //===== Additional Comments: =================================
    //= 1.0 Initial script.
    //= 1.1 Aligned coordinates with @go.
    //============================================================
    
    -	script	Healer	-1,{
    
    	.@Price = 0;	// Zeny required for heal
    	.@Buffs = 1;	// Also buff players? (1: yes / 0: no)
    	.@Delay = 5;	// Heal delay, in seconds
    
    	if (@HD > gettimetick(2))
    		end;
    	if (.@Price) {
    		message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny.";
    		if (Zeny < .@Price)
    			end;
    		if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2)
    			end;
    		Zeny -= .@Price;
    	}
    	specialeffect2 EF_HEAL2;
    	percentheal 100,100;
    	if (.@Buffs) {
    		specialeffect2 EF_INCAGILITY;
    		sc_start SC_INCREASEAGI,620000,10;
    		specialeffect2 EF_BLESSING;
    		sc_start SC_BLESSING,620000,10;
    		//repairall
    		if( getbrokenid(1) ) repairall;
    getinventorylist;
    while( .@i < @inventorylist_count ){
    	if ( !@inventorylist_identify[.@i] ){
    		delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
    		getitem @inventorylist_id[.@i],1;
    	}
    	.@i++;
    }
    	}
    	if (.@Delay)
    		@HD = gettimetick(2) + .@Delay;
    	end;
    }
    
    
    // Duplicates
    //============================================================
    alberta,25,240,6	duplicate(Healer)	Healer#alb	862
    aldebaran,135,118,6	duplicate(Healer)	Healer#alde	862
    amatsu,204,112,3	duplicate(Healer)	Healer#ama	862
    ayothaya,144,117,5	duplicate(Healer)	Healer#ayo	862
    comodo,184,158,6	duplicate(Healer)	Healer#com	862
    einbech,57,36,6	duplicate(Healer)	Healer#einbe	862
    einbroch,57,202,6	duplicate(Healer)	Healer#einbr	862
    geffen,115,72,6	duplicate(Healer)	Healer#gef	862
    gonryun,156,122,6	duplicate(Healer)	Healer#gon	862
    hugel,89,150,6	duplicate(Healer)	Healer#hug	862
    izlude,121,150,6	duplicate(Healer)	Healer#izl	862	//Pre-RE: (125,118)
    jawaii,250,139,4	duplicate(Healer)	Healer#jaw	862
    lighthalzen,152,100,6	duplicate(Healer)	Healer#lhz	862
    louyang,223,120,3	duplicate(Healer)	Healer#lou	862
    manuk,272,144,6	duplicate(Healer)	Healer#man	862
    mid_camp,203,289,6	duplicate(Healer)	Healer#mid	862
    moc_ruins,72,164,4	duplicate(Healer)	Healer#moc	862
    morocc,153,97,6	duplicate(Healer)	Healer#mor	862
    moscovia,220,191,4	duplicate(Healer)	Healer#mos	862
    niflheim,212,182,5	duplicate(Healer)	Healer#nif	862
    payon,163,226,3	duplicate(Healer)	Healer#pay	862
    prontera,162,193,4	duplicate(Healer)	Healer#prt	862
    rachel,125,116,6	duplicate(Healer)	Healer#rac	862
    splendide,201,153,4	duplicate(Healer)	Healer#spl	862
    thor_camp,249,74,4	duplicate(Healer)	Healer#thor	862
    umbala,105,148,3	duplicate(Healer)	Healer#umb	862
    veins,217,121,4	duplicate(Healer)	Healer#ve	862
    xmas,143,136,4	duplicate(Healer)	Healer#xmas	862
    yuno,164,45,4	duplicate(Healer)	Healer#yuno	862
    
    // Duplicates (Renewal)
    //============================================================
    brasilis,194,221,6	duplicate(Healer)	Healer#bra	862
    dewata,195,187,4	duplicate(Healer)	Healer#dew	862
    dicastes01,201,194,4	duplicate(Healer)	Healer#dic	862
    ecl_in01,45,60,4	duplicate(Healer)	Healer#ecl	862
    malangdo,132,114,6	duplicate(Healer)	Healer#mal	862
    malaya,227,204,6	duplicate(Healer)	Healer#ma	862
    

    I tried to add a message to the healer, my character didn't move, but it's not a one-click healer anymore.

    So is there a way to hide the message or to close it immediately after it opens ? Or another or easier way to fix this ?

     

    Sorry for my bad english.

     

    • Upvote 1
×
×
  • Create New...