-
Posts
1691 -
Joined
-
Last visited
-
Days Won
77
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by sader1992
-
rathena/src/config/secure.h /** + * Number of seconds after a 'menu' is displayed before invoking an idle timeout. + * Default: 60 **/ #define NPC_SECURE_TIMEOUT_MENU 60 /** + * Number of seconds after a 'next' button is displayed before invoking an idle timeout. + * Default: 60 **/ #define NPC_SECURE_TIMEOUT_NEXT 60 edit the numbers then recompile
- 1 reply
-
- 1
-
-
bindatcmd "oracao",strnpcinfo(3)+"::OnAtcommand",0,99; OnAtcommand: if(vip_status(VIP_STATUS_ACTIVE)){ //your script }else{ message strcharinfo(0),"this command only for vip!."; } end; try like this
-
you want it to work for vip and gm only ?
-
Visual Code File > Preferences > Settings under // Place your settings in this file to overwrite the default settings in the right copy paste this { "files.encoding": "utf8", "files.autoGuessEncoding": true } Save > restart Visual Code now you wont get any error (just first get new copy of iteminfo)
-
use visual code to edit your iteminfo (get new copy from the iteminfo first)
-
need more info what job , what the item you equip , is there someone next to you when you see the error , try to use langtype 0 in the clientinfo.xml and then login to the game and re screenshot the error (this would make the error in korean)
-
Need act and spr files for Mermaid Bubbles
sader1992 replied to hendra814's question in Client Requests
that was for another item but i made one for this item ITEM_ID-20209.zip after testing i realize that the SC_ effect not hard coded in the exe it's in the str file get back the view id from 0 to 1299 and use this in the grf this is an empty spr/act so and the effect will come from the str (i did include the str and the textures it use) -
Need act and spr files for Mermaid Bubbles
sader1992 replied to hendra814's question in Client Requests
you can get them back to the view id and put an empty spr/act in thier name in the grf i remember i did make one and upload it to the forum i will search for it -
Need act and spr files for Mermaid Bubbles
sader1992 replied to hendra814's question in Client Requests
yes and in the item info too [20209] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "캡", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Costume Mermaid Bubbles", identifiedResourceName = "인어공주의그리움", identifiedDescriptionName = { "Mermaid bubbles of love, thoughts into colorful bubbles.", "Class:^6666CC Costume^000000", "Location:^6666CC Upper^000000", "Weight:^006600 0^000000", "Level Requirement:^006600 1^000000", "Jobs:^6666CC All classes^000000" }, slotCount = 0, ClassNum = 1299 }, to [20209] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "캡", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Costume Mermaid Bubbles", identifiedResourceName = "인어공주의그리움", identifiedDescriptionName = { "Mermaid bubbles of love, thoughts into colorful bubbles.", "Class:^6666CC Costume^000000", "Location:^6666CC Upper^000000", "Weight:^006600 0^000000", "Level Requirement:^006600 1^000000", "Jobs:^6666CC All classes^000000" }, slotCount = 0, ClassNum = 0 }, -
the two you use not right you are using 7 arguments iteminfo reread the replys up
-
script command to terminate script when trying to move
sader1992 replied to Litro Endemic's question in Source Requests
prontera,150,150,1 script test 112,{ getmapxy(.@map$,.@x,.@y,0); getmapxy(.@map$,.@xc,.@yc,0); while (1) { if(.@x != .@xc|| .@y != .@yc){ cutin "", 255; end; } .@j++; cutin "image_"+.@j, 1; dispbottom .@j+""; sleep2 500; getmapxy(.@map$,.@xc,.@yc,0); } } -
you need to use iteminfo with 8 arguments why don't check out the replys up ? this the main function and this how you use it those reply are up
-
Need act and spr files for Mermaid Bubbles
sader1992 replied to hendra814's question in Client Requests
it don't have act/spr (just the drop) 20209.zip if you have error change the view id from 1299 to 0 this item call effect sc_start SC_MERMAID_LONGING,-1,0; so it don't need spr and act -
NEMO Use Custom DLL you can put your things in the dll or make the dll call exe
-
v1.1 FIX Critical issue with gepard/ip and compatibility with my other scripts i would suggest updating the script as soon as Passoble if you use ip or GePard Check
-
example: you wanna duplicate this npc from rathena/npc/cities/prontera.txt you just type //for the map prontera_1 prontera_1,216,70,2 duplicate(Strife#pront) Strife#pront1 48 //for the map prontera_2 prontera_2,216,70,2 duplicate(Strife#pront) Strife#pront2 48 this will copy all the script for that npc for the map so it's much faster you just make a file have all your duplicates and it would be easier for you too
-
{ "resolution" : [ 1270, 1080 ], "data" : { "ropath" : "C:/Users/ROProvider/Desktop/test", "grfs" : [ "C:/Users/ROProvider/Desktop/test/default.grf" ] }, "moveconsole" : true, "defaultmap" : "prontera" }
-
i don't know i just used notepad++ to count them
-
YES but there is 3 items without costume = in your file
-
DO NOT Disable Packet Encryption in NEMO
-
in this file there is 7169 (ClassNum =) and 7166 (costume =) it must be (costume =) == (ClassNum =) this file wont work
-
not really sure about the script but when i see it i remember the Global_Functions the F_getpositionname you don't use it in your script but it look like the script working on it ? E:/GitHub/rathena/npc/other/Global_Functions.txt function script F_getpositionname { switch( getarg(0,999) ) { case EQI_ACC_L: return "Accessory 1"; case EQI_ACC_R: return "Accessory 2"; case EQI_SHOES: return "Shoes"; case EQI_GARMENT: return "Robe"; case EQI_HEAD_LOW: return "Head 3"; case EQI_HEAD_MID: return "Head 2"; case EQI_HEAD_TOP: return "Head"; case EQI_ARMOR: return "Body"; case EQI_HAND_L: return "Left hand"; case EQI_HAND_R: return "Right hand"; case EQI_COSTUME_HEAD_TOP: return "Upper Costume Headgear"; case EQI_COSTUME_HEAD_MID: return "Middle Costume Headgear"; case EQI_COSTUME_HEAD_LOW: return "Lower Costume Headgear"; case EQI_COSTUME_GARMENT: return "Costume Garment"; case EQI_AMMO: return "Arrow/Ammunition"; case EQI_SHADOW_ARMOR: return "Shadow Armor"; case EQI_SHADOW_WEAPON: return "Shadow Weapon"; case EQI_SHADOW_SHIELD: return "Shadow Shield"; case EQI_SHADOW_SHOES: return "Shadow Shoes"; case EQI_SHADOW_ACC_R: return "Shadow Accessory 2"; case EQI_SHADOW_ACC_L: return "Shadow Accessory 1"; default: return "Unknown"; } } as i see setarray .@slots[0],2,3,4,5,6,7,8,9,10; 0 and 1 not in the array so you mean the accessorys ? if( .@slots[.@a] == 8 || .@slots[.@a] == 9) { = the weapons ? if you meant to use the F_getpositionname function then it's up and the shadow equipments are in it but i don't really think that the script completed ? not really sure
-
i just notice that your item info don't have costume = so you will need to edit all the items to make it work with the last kro ? if you already did please upload the last lub you are using if not as you see there is 8 arguments result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum, DESC.costume) without the last argument (costume) the main function wont work cus without it you are using 7 arguments not 8 and the main function want 8 example: this how the item has to be [1847] = { unidentifiedDisplayName = "손톱", unidentifiedResourceName = "바그낙", unidentifiedDescriptionName = { "감정되지 않음. [돋보기] 를 사용하여 감정할 수 있다." }, identifiedDisplayName = "아이언 네일", identifiedResourceName = "아이언네일", identifiedDescriptionName = { "고대 영웅이 사용했다고 하는 너클.", "기존 너클과 구조가 다른 것 같지만 적을 단숨에 제압하는데 특화되어 있으며, 고대 영웅의 부츠와 공명하는 것 같다.", "2제련 당 ATK + 10.", "3제련 당 원거리 물리 공격력 4%씩 증가.", "9 제련 시 [폭기산탄] 데미지 10% 증가.", "11 제련 시 [폭기산탄] 스킬 쿨타임 1초 감소.", "고대 영웅의 부츠와 함께 장착 중 물리 공격 시 일정 확률로 7초간 STR+20, ATK+ 15% 증가.", "계열 : ^777777너클^000000 공격 : ^777777180^000000", "무게 : ^777777100^000000", "무기 레벨 : ^7777774^000000", "요구 레벨 : ^777777100^000000", "장착 : ^777777수라 계열^000000" }, slotCount = 2, ClassNum = 12, costume = false } this how you will get error [1847] = { unidentifiedDisplayName = "손톱", unidentifiedResourceName = "바그낙", unidentifiedDescriptionName = { "감정되지 않음. [돋보기] 를 사용하여 감정할 수 있다." }, identifiedDisplayName = "아이언 네일", identifiedResourceName = "아이언네일", identifiedDescriptionName = { "고대 영웅이 사용했다고 하는 너클.", "기존 너클과 구조가 다른 것 같지만 적을 단숨에 제압하는데 특화되어 있으며, 고대 영웅의 부츠와 공명하는 것 같다.", "2제련 당 ATK + 10.", "3제련 당 원거리 물리 공격력 4%씩 증가.", "9 제련 시 [폭기산탄] 데미지 10% 증가.", "11 제련 시 [폭기산탄] 스킬 쿨타임 1초 감소.", "고대 영웅의 부츠와 함께 장착 중 물리 공격 시 일정 확률로 7초간 STR+20, ATK+ 15% 증가.", "계열 : ^777777너클^000000 공격 : ^777777180^000000", "무게 : ^777777100^000000", "무기 레벨 : ^7777774^000000", "요구 레벨 : ^777777100^000000", "장착 : ^777777수라 계열^000000" }, slotCount = 2, ClassNum = 12 }
-
and this main = function() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum, DESC.costume) if not result == true then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result == true then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result == true then return false, msg end end k = DESC.costume k = DESC.unidentifiedResourceName v = DESC.identifiedDisplayName end return true, "good" end same as mrmagic but change the first line (not sure if it would change anything but just give it a try)
-
main = function() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result == true then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result == true then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result == true then return false, msg end end k = DESC.unidentifiedResourceName v = DESC.identifiedDisplayName end return true, "good" end try this