Jump to content

Chaos92

Members
  • Posts

    1864
  • Joined

  • Last visited

  • Days Won

    63

Posts posted by Chaos92

  1. 2 hours ago, Tassadar said:

    Good morning everyone. I am using this npc on my server. thank you @n0tttt !!!
    But when I choose the option to buy item 7720. (Golden Coin) npc returns an error saying that I do not have enough cash points. Could someone take a look and if possible test to see if I did something wrong?

    
     prontera,169,179,1	script	Hefesto	813,{
    
    	mes "Bem Vindo;
    	mes "Hoje estamos vendendo diversos Conjuntos de Itens Especiais.";	
    next;	
    	mes "Como você prefere pagar?";
    	switch(select("Pontos de Voto","Rops","Moedas Douradas","Sair")) {
    	case 1:
    		callshop "shop1",1;
    		end;	
    	case 2:
    		callshop "shop2",1;
    		end;
    	case 3:
    		callshop "shop3",1;
    		end;
    	case 4:
    		close;
    	}
    
    }
    
    -	pointshop	shop1	-1,#VOTEPOINTS,15110:100,20732:60
    -	cashshop	shop2	-1,15110:10000,20732:6000
    -	itemshop	shop3	-1,7720,15110:500,20732:300

    I used the <TABs> correctly. I do not know what the problem might be. My client is new:
     

    
    #ifndef PACKETVER
    	/// Do NOT edit this line! To set your client version, please do this instead:
    	/// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    	/// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    	#define PACKETVER 20180620
    #endif
    
    #ifndef PACKETVER_RE
    	/// From this point on only kRO RE clients are supported
    	#if PACKETVER > 20151104
    		#define PACKETVER_RE
    	#endif
    #endif

    Something's missing? I've seen the npcs that put the separate price items like this:

     

    
    // This code runs first. When the server is started.
    OnInit:
    	setarray .customs[0],7179,6665,16683,17441,12549,12103,12912,12412,12411,12105,18550,2423,22014,15041,6230,6234,6228,6232,13710,7620,7619,6240,6241,6226,6225,6438,6439,12436,12437,12475; // An array of out custom items.
    	
    	set .CoinID,7720; // ID da Moeda em uso.
    	
    	setarray .Price[0],5,50,100,300,10,35,70,100,150,20,120,250,300,250,100,100,200,200,50,5,5,7,7,10,10,15,15,2,2,2; // The amount of coins needed for our items. (For example: Item 12103 = 20 coins)
    	
    	npcshopitem "custom_seller2",0,0; // Remove all items from our dummy shop.
    	
    	for( set .@i, 0; .customs[.@i]; set .@i, .@i+1 ) // Loop through our custom items.
    		npcshopadditem "custom_seller2",.customs[.@i],.Price[.@i]; // Add our custom items to the cleared dummy shop.
    	
    	end;
    }

    But I need it to be like stores because there are many items to add and in two lines it gets tricky to find and modify some item.

    In time have problems if I duplicate an npc? Changing only the name and name of the stores? The variables that start with @ in an npc, can not give problems in another npc with the variable of the same name ???

    moedas.png

    You doesnt need that OnInit code for ItemShop.

    Just edit it here 

    -	itemshop	shop3	-1,7720,15110:500,20732:300

    Then, try to bought with 7720 item.

    You should can bought using the same item as you set there.

    Make sure you are using 2013 and above rathena version and also client.

  2. 2 hours ago, Haruka Mayumi said:

    Im using the same Client Version. and there's no problem.

    What i think the problem is.

    You add a custom wing as Headgear, then you add its location to garment.
    Meaning you add it on accname/accessoryid.lub and then you wear it to garment.

    To Add Garments Follow This Guide

    screenYumiRO000.jpg

    Hello, actually from the picture, it is the original Fallen Angel Wing and I didnt change anything.

    And ive tried below but still it didnt work.

    Someone suggest me to remove some lines in luafiles514\lua files\spreditinfo\2dlayerdir_f.lub

        [SPRITE_ROBE_IDs.ROBE_WINGS] = LAYER_BIG,
        [SPRITE_ROBE_IDs.ROBE_BAG_OF_ADVENTURER] = LAYER_SMALL,
        [SPRITE_ROBE_IDs.ROBE_WINGS_OF_FALLEN_ANGEL] = LAYER_BIG,
        [SPRITE_ROBE_IDs.ROBE_AMISTR_BAG] = LAYER_SMALL,
        [SPRITE_ROBE_IDs.ROBE_Love_Dad_Wings_2012] = LAYER_BIG,
        [SPRITE_ROBE_IDs.ROBE_KIRIN_WING] = LAYER_BIG,
        [SPRITE_ROBE_IDs.ROBE_Ribbon_Piamat] = LAYER
    _SMALL

     

  3. 16 hours ago, crossworld said:

    chaos, Each rss feed is working if i input them seperate.  It's when i want to show multiple rss feeds is when it's not working.  It's still displaying one feed.  How do I make it so fluxcp shows all my rss feeds.

    Depends on your rss  forum category or anything . If you have multiple thread/post in a certain category, then it will show more than one for the rss feed.

  4. 2 hours ago, crossworld said:

    hey guys

    I have fluxcp all setup and running for my server but i cant seem to figure out how to display multiple rss feeds from the forums.  Each rss feed is working if i input them seperate. I guess I just dont know how to code it in flux to display each need feed.

    elaborate, or give example, it helps a lot so that we can help you.

  5. On 7/17/2018 at 9:06 AM, rongmauhong said:

    Thanks for responses.
    I think I use 2017 exe client so I got this problem. I fixed it on _new_biglayerdir_female.lub and _new_biglayerdir_male.lub located in data\luafiles514\lua files\spreditinfo

    how do u fix that ?

    im using 20180620 and having this issue when zoom in too much.

    screenrAthena003.jpg

    screenrAthena005.jpg

  6. 5 hours ago, coderjuan said:

    i followed this tutorial https://gomanilahost.net/clients/knowledgebase/139/Guide-Adding-Custom-Items.html

    no errors but the item is not showing, please help

     

    client-side

    data\idnum2itemdesctable.txt

    
    32205#
    Str + 10
    Class :^777777 Headgear^000000
    Defense :^777777 0^000000
    Equipped on :^777777 Lower^000000
    Required Level :^777777 ??^000000
    Weight :^777777 10^000000
    Applicable Job :^777777 Every Job^000000
    #

    data\idnum2itemdisplaynametable.txt

    
    32205#Pilipinas_Cap#

    data\idnum2itemresnametable.txt

    
    32205#Pilipinas_Cap#

    data\lua files\datainfo\accessoryid.lub

    
    	ACCESSORY_Pilipinas_Cap = 1772

    data\lua files\datainfo\accname.lub

    
    	[ACCESSORY_IDs.ACCESSORY_Pilipinas_Cap] = "_Pilipinas_Cap"

    System\itemInfo.lua

    
    [32205] = {
    unidentifiedDisplayName = "Pilipinas_Cap",
    unidentifiedResourceName = "Pilipinas_Cap",
    unidentifiedDescriptionName = {
    "Str + 10",
    "Class :^777777 Headgear^000000",
    "Defense :^777777 0^000000",
    "Equipped on :^777777 Lower^000000",
    "Required Level :^777777 ??^000000",
    "Weight :^777777 10^000000",
    "Applicable Job :^777777 Every Job^000000"
    },
    identifiedDisplayName = "Pilipinas_Cap",
    identifiedResourceName = "Pilipinas_Cap",
    identifiedDescriptionName = {
    "Str + 10",
    "Class :^777777 Headgear^000000",
    "Defense :^777777 0^000000",
    "Equipped on :^777777 Lower^000000",
    "Required Level :^777777 ??^000000",
    "Weight :^777777 10^000000",
    "Applicable Job :^777777 Every Job^000000"
    },
    slotCount = 1,
    ClassNum = 0
    },

     

    server-side 

    db\re\item_db.txt

    
    32205,Pilipinas_Cap,Pilipinas_Cap,4,1000,,200,,2,,0,0xFFFFFFFF,63,2,256,,0,1,1772,{},{},{}

     

    Capture.PNG

    You need to have sprite folder, texture folder for the custom item.

    also need to edit accname.lua and accessoryid.lua.

     

    • Upvote 1
  7. 7 hours ago, mharkeke said:

    Connection error.

    i have to VPS 1 for Ragnarok and 1 for the Website

    i already GRANT ALL PRIVILEGES ON *.* TO 'root'@'185.***.***.***' IDENTIFIED BY '************' WITH GRANT OPTION;

    ( My Sql database was on Ragnarok VPS )

    i already perfectly setup the servers.php but why the connection still doesnt work ?

    but still i have the connection error ? how can i fix this ?

    asdas.png

    in phpmyadmin/database, u need to set privilege and add your mysql user there.

  8. 6 hours ago, Roxas_V said:

    Hi, i need a little help here, i don't know what i'm doing wrong but the thor patchet doesn't show the "start game button"

    SS: http://prntscr.com/lvvuz3

    Config.ini info:

      Reveal hidden contents

    [Config:Main]

    RootURL='http://testro.com/updates/'

    RemoteConfigFile='main.ini'

    TimeOut=0

    StatusFile='update.dat'

    DefaultGRF='test.grf'

    ClientEXE='test.exe'
    ClientParameter='-1sak1'

    //When patcher unable to connect webserver,
    //should the patcher allow player start the game anyways?
    FinishOnConnectionFailure=false

    [Config:Window]

    Style='none'

    //This allows the player drag the window by background
    DragHandling=true

    //Background can be either jpg or bmp, in later case
    //the top-left pixel is chosen as transparent color.
    Background='images/bg.bmp'

    FadeOnDrag=true

    [Config:BGM]
    File=''

    Loop=true

    Volume=5

    Directory=

    [Config:Misc]
    Title='Thor Patcher'

    HideProgressBarWhenFinish=true


    [ProgressBar:bar1]
    Width=342
    Height=10

    Left=23
    Top=486

    FrontImage=
    BackImage=

    Hook='ProgressChange'

    [Label:Status]
    AutoResize = false

    Width=369
    Height=

    Left=15
    Top=498
    Alignment='center'

    FontColor=$000000
    FontName = ''
    FontSize =

    Text=''

    Hook='StatusChange'

    [NoticeBox:Box0]
    Width=347
    Height=250
    Left=21
    Top=217
    URL='http://127.0.0.1/opatch/notice.html'

    [Button:Start]
    Default='images/start1.png'
    OnHover='images/start2.png'
    OnDown='images/start3.png'

    Left=383
    Top=211

    //Hook is used for default buttons,
    //do not use this on custom buttons!
    Hook='Start'

    [Button:Exit]
    Default='images/Exit1.png'
    OnHover='images/Exit2.png'
    OnDown='images/Exit3.png'

    Left=383
    Top=244

    Hook='Exit'

    [Button:Cancel]
    Default='images/Exit1.png'
    OnHover='images/Exit2.png'
    OnDown='images/Exit3.png'

    Left=383
    Top=211
    Hook='Cancel'

    //[Button:Extra]
    //
    //
    //
    // Mode - mode for button
    // 1 = open URL
    // 2 = Launch file/program
    // 3 = Message box
    //Mode=
    // Action - depend on what you set in the Mod, this may vary
    // ex. Mode = 1 , Action='http://google.com'
    //Action=

    main.ini//Web Confg:
    updates folder SS: http://prntscr.com/lvvvy7

      Reveal hidden contents

    //Thor Patcher remote config file
    [Main]
    //Allow patching or not?
    allow=true

    //Should patcher ignore everything else and finish patch immediately?
    Force_Start=false

    //if not, what message should appear?
    policy_msg=Server is taking a nap.

    //file_url - patch files should ALL put here.
    // This config entry will override the one in embed config.
    // o HTTP:
    //         http://domain.com/dir/
    // o FTP:
    //         ftp://domain.com/dir/
    //     o With <Username> [Password] [Port]
    //    ftp://username:[email protected]:port/dir/
    //     o Note: username is required if want put password, otherwise everything is optional.
    file_url=http://testro.com/updates/data/
     

    Regards!

    thats mean it doesnt load your patcher. u need to set patch url correctly in config for your thor patcher.. It says 'failed to communicate with server.
    OR change force update in main.ini setting so u can still start game even the patch isnt patching fully/problem.

  9. 11 hours ago, Sofia said:

    Ok, I'm using his files and I'm having the same problem.

    What should I do? Search for a problem in a specific file?

    You dont need to explain everything, just say something like "data/lua files/common.lub" or anything like that and I'll try to fix by myself (I preffer this way, I can learn more).

    https://github.com/zackdreaver/ROenglishRE/tree/master/data/luafiles514/lua files

    use all lua files here.

  10. 6 hours ago, zodiacro said:

    I have a script for Houly rewards which gave my player Kafra Points. and now I need NPC for my player to exchange item by using the Kafra Points. Please forgive me if i dupplicate the post.

    This is my script. Kindly assist.. Thanks

    You can use this.
     

    prontera,155,166,4<tab>pointshop<tab>PointShop-Test3 123,#KAFRAPOINTS,678:5,607:5,608:3

    or... change your scripts from KAFRAPOINTS to something else, change #KAFRAPOINTS to the same points.

    You can use any, or create new points example , #ZODIACPOINTS 

    But.. make sure the hourly script also change to #ZODIACPOINTS

    • Upvote 1
  11. 1 hour ago, Sofia said:

    I dupped the skill "RK_DRAGONBREATH" to the "NPC_DARKNESSBREATH" but everytime i use the skill this message appears...

    Idk what to do. The damage is ok, the AOE, everything is perfect.

    I'm new here and I'm trying to learn as fast as possible, trying to create a little fun server in my free time, so I (possibly) dont know anything about everything.

    image.thumb.png.82f5aa249aed217948f96abbbfcea325.png

    your GetSkillAttackRange fille in data folder line 262 having issue. Get a clean and usable data folder, then use it. Maybe you can try zackdreaver adta folder 

    PRE-RE : https://github.com/zackdreaver/ROenglishPRE
    RE : https://github.com/zackdreaver/ROenglishRE

    • Love 1
  12. 5 hours ago, Functor said:

    @Chaos92

    What do you exactly mean? 

    You use these settings in "char" config:

    But after attempt of deletion game client shows delay "12 months 4 days 7 hours 9 min 43 sec". Correct?

    If "yes", what EXE version do you use?

    yes, 20180620 client date.

    Got some topic said its originally like that..

    but its weird though. Its not understandable by normal players I think.

×
×
  • Create New...