Jump to content

Cunoo

Inactive Member
  • Posts

    326
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Cunoo

  1. 		SpecialPath			"d:/ymir work/" // I see here unkown character..
    		ShapeIndex			43320
    		Model				"pc/warrior/robusta.gr2"
    		SourceSkin			"pc/warrior/1_by_ict.tga"
    		TargetSkin			"ice_texture/1_by_ict.tga"
    		SourceSkin1			"pc/warrior/2_by_ict.tga"
    		TargetSkin1			"ice_texture/2_by_ict.tga"
    		SourceSkin2			"pc/warrior/3_by_ict.tga"
    		TargetSkin2			"ice_texture/3_by_ict.tga" // Too this line
    		SourceSkin3			"pc/warrior/4_by_ict.tga"
    		TargetSkin3			"ice_texture/4_by_ict.tga" // Too this.. - Forum problem or in your code? Try copy your code in quote you can see..
    
    ------------------
    TargetSkin
    SourceSkin1
    TargetSkin1
    SourceSkin2
    TargetSkin2
    SourceSkin3
    TargetSkin3
    
    //Why? 123456789 abcd.... ? xd
    -------------------------------
    //Btw. this is good?
    //-> d:/ymir work/pc/warrior/blah blah blah..
    //-> d:/ymir work/ice_texture/blah blah blah..

     

  2. I dont know if I understand (I´m drunk totally) and for what you need it.. But!
    You can use quest function..

    pc.has_guild()


    For example:

    quest guild_notice begin
    	state start begin
    		when login with pc.has_guild() begin  -- After every login with guild you get notice..
    			notice("Blah blah blah..")
    		end
    	end
    end
    
    -- Change what you want.. This is only example.. You can add playtime, level, just what you want.. :D
    -- If is not what you want specified your question :D

     

  3. 2 hours ago, asdajdja said:

    I mean there obviously is a way to fix this, I remember having those "Chinese" errors when I first updated to granny 2.9.. I also had issues with some animations not working on NPCS (old lady and that Octavio guy) and I fixed that as well.. I just can't remember what I did since I've been like 4 years.. I would try converting the models first.... disabling syserr is not a good practice.

     

    @ReFresh what granny version do you actually use? 2.11.x or 2.9.x ??

    I do not say this is unfixable.. I said this is unfixable with convertor.. You cant safe this problem if you convert all models to new granny.. You must safe model to model.. Thats not first problem with granny.. Long time ago I have same and more little bit problems.. You can fix so much problems but why? I know this is great idea but no more advantage.. Good way is convert all models, upgrade granny in source and disable syserr..  You won´t see the difference ;)

  4. 4 hours ago, dmitry said:

    maybe ur host dont suporting auto dhcp and u need do setings manualy (netmask,gateway etc)

    for my host it 

      Reveal hidden contents

    ОС FreeBSD

    Пример /etc/rc.conf:

    
    
    # IPv4 основной адрес
    ifconfig_re0="inet <основной-ip-адрес>/32"
    
    # IPv4 примеры алиасов
    #ifconfig_re0_alias0="inet <ip-адрес>/32"
    #ifconfig_re0_alias1="inet <ip-адрес>/32"
    
    # Сетевой интерфейс с доступом до шлюза
    gateway_if="re0"
    # IPv4 адрес шлюза
    gateway_ip4="10.0.0.1"
    
    static_routes="gateway default"
    route_gateway="-host $gateway_ip4 -interface $gateway_if"
    route_default="default $gateway_ip4"
    

    Серверы в одной подсети не могут обмениваться пакетами напрямую. Такие пакеты следует принудительно отправлять через шлюз по умолчанию.

    Обратите внимание: не используйте ключевое слово defaultrouter при такой настройке!

     

    but its answer is why in virtual box can dhcp settings automatically ? and on VPS not (i do not try bcuse i think its bullshit)

  5. 12 minutes ago, ReFresh said:

    @Cunoo Hm... so try to search in vps network settings. But I think this is a vps provider problem.

    its possible its internet problem i mean internetr provider ? bcuse i have VPS in home :D its work perfectly but we change internet and now its dont work. In virtual box working perfectly  but on VPS not... i dont know why

  6. Hello devs ! :) i reinstalled VPS and i have little problem with connections...

    look some screenshots...

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

    https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png

    when i try set network manualy i mean bsdconfig - network...

    he told me like "network is unreachable"

    can anyone help me please ? ?

  7. 43 minutes ago, maniek19 said:

    Hello. I wanted to ask if I could somehow set the same bonus twice in the item_attr table? I would like to receive a bonus for one item, for example with the values of 5,10,15,20,25 and for the second one, for example with the values of 15,30,60,120,240. Is it possible to do something?

    for example:

    1287331843_Beztytu6666u.png.c41f78a5d3e9343d9b3629ceb187397b.png

    You can create new tables in source for all items..

    Example:

    item_attr_ weapon -> 1/5 attr for weapon you can set what is possible add/change for all weapons..
    item_attr_armor -> 1/5 attr for armor you can set what is possible add/change for all armors..

    For what is this good? You cant set same % of bonus for all items but for one part of your equip..

    Thats like your screenshot..

    Or you can create new bonus same as monster like call ATTBONUS_MONSTER2.. This is possible use with one original table or with new tables for part equip..

    But all is so much code.. You need: db/src/ClientManagerBoot.cpp, common/service.h, game/src/battle.cpp, game/src/char.cpp, game/src/char.h, game/src/constants.cpp, db/src/protoreader.cpp, client part.. Dump_proto source and more files what I dont say.. This is rlly rlly rlly so much changes..

    • Love 1
  8. Hi guys,

    I have bug with exchange.. Just for example:

    Player1 giving in exchange window 4x arrow (4x1) - He do not manipulate with items in exchange.. This is impossible..  But he can manipulate with items without exchange window.. And thats my problem.. If they are players with same items like in exchange (now arrow) and drop arrow to the floor + now stack in inventory ->  accept button in exchange.. Player2 has all items (4x arrow + arrows from floor now stacked in inventory) I need block drop on the floor from my inventory if I use exchange with other players.. Anyone know part in source?

    Thanks!


    Edit: Fixed by yourself.. If anyone has same problem..

    char_item.cpp this function:

    bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)

    Add after:

    if (item->IsExchanging())
    		return false;

    This:

    if (GetExchange())
    	{
    		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't drop an item if you're trading."));
    		return false;
    	}

    Now you cant drop item to the floor if you has open exchange with player..

    • Love 1
  9. Hi guys,

    I convert all models in client with recompiled preprocessor to granny 2.11.. 90% models working good, but I have a lot problems with some models..

    My syserr:

    GRANNY: File has run-time type tag of 0x80000010, which doesn't match this version of Granny (0x80000039).  Automatic conversion will be attempted.

    Someone know how I can repair this manually + how separate "bad" models? I have problems with season1, maybe zone.. But I do not have more specific informations..

    Btw. I dont want disable granny error in source.. Do not post me code for this, I know how..

    Thanks!

  10. Hi guys,

    I want attacking from normal horse before WH.. (1-10lv) Just I edit clientside for attack.. -> InstanceBase.cpp
    Attack working, but I do not deal dmg.. What I must change in char_item.cpp?

    Here is code for normal horse from char_item.cpp:

    		case 20101:
    		case 20102:
    		case 20103:
    			// 초급 말
    			if (item->GetVnum() == ITEM_REVIVE_HORSE_1)
    			{
    				if (!IsDead())
    				{
    					from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("죽지 않은 말에게 선초를 먹일 수 없습니다."));
    					return false;
    				}
    				return true;
    			}
    			else if (item->GetVnum() == ITEM_HORSE_FOOD_1)
    			{
    				if (IsDead())
    				{
    					from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("죽은 말에게 사료를 먹일 수 없습니다."));
    					return false;
    				}
    				return true;
    			}
    			else if (item->GetVnum() == ITEM_HORSE_FOOD_2 || item->GetVnum() == ITEM_HORSE_FOOD_3)
    			{
    				return false;
    			}
    			break;

     

    Anyone has idea how to create attack from normal horse?

    Thanks!

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.