Jump to content

leertaste

Members
  • Content Count

    25
  • Joined

  • Last visited

Posts posted by leertaste


  1. Hi everyone!

    Client Date: 2022-04-06_Ragexe
    Server Mode: Pre-Renewal
    Description of Issue: Killcount problem for Achievement Group "ACH_KILL_MOB_CLASS".

     

    Result: The killcount doesnt go to anyone inside the group and stays 0 when you have party exp share enabled.

    Expected Result: The killcount should be shared among the members of the group that are nearby ("AREA_SIZE")

    How to Reproduce: Create a group with another player and enable party exp share, kill a monster that is on the list of achievements, and you will see that the achievementupdate doesnt work anymore.


  2. I figured out the System/PetEvolutionCln_true.lub wasnt even loaded into client.. so i fixed this by selecting nemo patch "chance petEvolutionCln*.lub path and adjust it just right


  3. hello

     

    im trying to make it possible for some of my pets to evolve but the evolve option won't show up

    the custom test mobs themself work they do also work as pets

     

    so i did this inside my pet_db.conf

    Spoiler

    {
        Id: 3501
        Name: "Test1"
        EggItem: "Test1_Egg"
        TamingItem: "Taming_Potion"
        FoodItem: "Pet_Food"
        Intimacy: {
            FeedIncrement: 50
        }
        CaptureRate: 500
        AttackRate: 10000
        DefendRate: 10000
        Evolve: {
            Test2_Egg: {
                Apple: 1
            }
        }
        PetScript: <"">
        EquipScript: <"">
    },
    {
        Id: 3502
        Name: "Test2"
        EggItem: "Test2_Egg"
        TamingItem: "Taming_Potion"
        FoodItem: "Pet_Food"
        Intimacy: {
            FeedIncrement: 50
        }
        CaptureRate: 500
        AttackRate: 10000
        DefendRate: 10000
        PetScript: <"">
        EquipScript: <"">
    },

    at client side i did this:

     

    petinfo.lub:

     

    PetNameTable, PetStringTable

        [jobtbl.JT_Test1] = "Test1",
        [jobtbl.JT_Test2] = "Test2",

    PetEggItemID_PetJobID

    	[30202] = jobtbl.JT_Test1,
    	[30203] = jobtbl.JT_Test2,

    the egg IDs match with my item2_db

     

    PetFoodTable

    	[jobtbl.JT_Test1] = 30201,
    	[jobtbl.JT_Test2] = 30201,

    PetEvolutionCln_sak.lub:

    	InsertEvolutionRecipeLGU(30202, 30203, 512, 1)
    	InsertPetAutoFeeding(30201)

    since the pet info screen is client sided, i think the problems lays there but:

    when i try another pet (for example 9037 - wanderer) which is already defined in PetEvolutionCln_sak.lub the evolve option shows up

     

    when i run my client without petinfo.lub and PetEvolutionCln_sak.lub it gives an error, so im sure theyre read

     

    could someone please help me out?


  4. hey guys

    i wonder how adding custom or duplicated maps to the game works since there are many changes.

    what i've done so far:
    - added mapcache.c as a plugin and compiled it -> enabled the plugin serversided
    - added my custom map (which is a clone from moscovia) to the necessary files (db\map_index.txt; conf\map\maps.conf; conf\grf-files.txt)
    - opened cmd -> located to my directory -> "map-server --load-plugin mapcache --rebuild-mapcache"

    this is when the mapserver told me he removed all maps. as i went to maps\re - full emptyness

    what did i do wrong?


  5. On 29.10.2017 at 10:53 PM, fxfreitas said:

    costume garments will always be behind the character on front view, also there's aonther file related to costume garments on:

    data/Lua Files/spreditinfo/2dlayerdir_f.lub

    ok fine, i added into 2dlayerdir_f.lub:
     

    	[SPRITE_ROBE_IDs.ROBE_Black_Scarf] = LAYER_SMALL

    the sprite is now shown in front. but it still doesnt fit to the character properly. its shown a little too far down. also when i mount a peco, the scarf is shown inside the peco.. is there another file to edit?

     


  6. hey guys, i tried to add some custom lower gears as garment.

    on lower type with correct setup it looks like this:
    OWwEyMs.png

    but when i try to configure it as a garment, it looks like this:
    NMfIbDS.png
    vzaPbeZ.png

    my configuration:

    iteminfo.lua:

    	[51000] = {
    		unidentifiedDisplayName = "Accessory",
    		unidentifiedResourceName = "Black_Scarf",
    		unidentifiedDescriptionName = {
    			"Unidentified item, can be identified with [Magnifier].",
    		},
    		identifiedDisplayName = "Black Scarf",
    		identifiedResourceName = "Black_Scarf",
    		identifiedDescriptionName = {
    			"^008000[ Black Scarf ]^000000",
    			"Ofiicial Yume-Ro costume Item!",
    			"Class :^777777 Headgear^000000",
    			"Defense :^777777 0^000000",
    			"Equipped on :^777777 Garment^000000",
    			"Weight :^777777 0^000000",
    			"Required Level :^777777 1^000000",
    		},
    		slotCount = 0,
    		ClassNum = 100
    	},

    spriterobename.lub:

    RobeNameTable = {
    	[SPRITE_ROBE_IDs.ROBE_Black_Scarf] = "Black_Scarf",
    }
    
    RobeNameTable_Eng = {
    	[SPRITE_ROBE_IDs.ROBE_Black_Scarf] = "Black_Scarf",
    }

    spriterobeid.lub:

    SPRITE_ROBE_IDs = {
        ROBE_Black_Scarf = 100,
    }

    item_db2.conf:

    {
    	Id: 51000
    	AegisName: "Black_Scarf"
    	Name: "Black Scarf"
    	Type: 5
    	Loc: 8192
    	ViewSprite: 100
    	Trade: {
    		noselltonpc: true
    	}

    Data placement:
    (following 3 are the same as for lower headgear)
    data\sprite\¾ÆÀÌÅÛ
    data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection
    data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

    and:
    8TTp8Fw.png

    whats missing?


  7. Erstmal danke, dass du dir Zeit genommen hast so ausführlich zu antworten.
    Mit SQL kenne ich mich tatsächlich noch so gut wie gar nicht aus.

    19 hours ago, andybe said:

    was du  nun machen kannst ist die Tabelle editieren und die Spalte für die Itemid raussuchen dort wirst du das SHORT Tag sicherlich irgendwo finden (genau kann ich dir das nicht sagen, denn jede sql software sieht natürlich anders aus) und änderst es in deinen UNSIGNED_LONG um.

    ich kann nirgends den SHORT Tag finden..

    EDIT:
    hab das Problem gelöst. In '/src/char/char.c' folgende Zeile:
    i fixed it changing this at '/src/char/char.c':

    -		|| SQL_ERROR == SQL->StmtBindColumn(stmt, 1, SQLDT_SHORT,     &item.nameid,      0, NULL, NULL)
    +		|| SQL_ERROR == SQL->StmtBindColumn(stmt, 1, SQLDT_USHORT,     &item.nameid,      0, NULL, NULL)

     


  8. Hey guys, I've read any topic about this out there, but I am still not able to make it work.

    This is what I've done:

    /src/map/itemdb.h:

    -#define MAX_ITEMDB 0x8000 // 32k array entries in array (the rest goes to the db)
    +#define MAX_ITEMDB 0x10000 // 64k array entries in array (the rest goes to the db)

    /src/common/mmo.h:

    - short nameid;
    + unsigned short nameid;

    /sql-files/main.sql:

    card0~ card3 from smallint to mediumint

    (at multiple places)

    BUT still: when i logout with an itemID over 32k, it gets deleted with following error:

    [SQL]: DB error - data of field 'nameid' was truncated
    [Debug]: column - 1
    [Debug]: data   - type=UNSIGNED MYSQL_TYPE_LONG, le
    [Debug]: buffer - type=MYSQL_TYPE_SHORT, length=2
×
×
  • Create New...

Important Information

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