Jump to content

Akkarin

Forum Manager
  • Posts

    3,067
  • Joined

  • Last visited

  • Days Won

    182

Posts posted by Akkarin

  1. Item Use, Drop & Pickup Events


    A handy extra set of script events and variables for you to maximise your event and quest scripts!

    New Variables: DroppedItemID, DroppedItemQTY, UsedItemID, PickedItemID

    New Scripted Event Triggers: OnItemDropEvent, OnItemUseEvent, OnItemPickupEvent

    Includes 3 Test NPC scripts e.g.

    -	script	onusetest	-1,{
    	end;
    OnItemUseEvent:
    	dispbottom "Found item use event"; dispbottom "Using on "+ UsedItemID;
    	switch(UsedItemID){
    		case 501: dispbottom "You used a Red Potion!"; break;
    	}
    	end;
    }

    As an example use-case, I've previously used this code in an Easter event script where each time you pickup any 1 of the 13 different eggs, specific code will run for effects, item swapping, costume changes, play sounds, etc. The possibilities are enormous!


     

    • Upvote 2
    • Love 1
  2. 46 minutes ago, someonenoone11 said:

    This is for solo offline private use only so I don't intend to update unless there is a huge gameplay change.

    Broken mechanics are being fixed all the time - your previous hash is from March, a lot has changed since then and I'm not sifting through all those changes.

    45 minutes ago, someonenoone11 said:

    Client date: 2018-04-18b

    You compiled for the correct client version?

  3. 23 hours ago, Akbare said:

    maybe someone can help so I can use the view id

    Unsure. Is it literally just this single item that you're having issues with?

    Do any other high ViewID'd items cause errors?

    Is everything else converted correctly?

     

    1 hour ago, Heero12 said:

    I'm still in doubt, how to convert yml to txt and from txt to yml. would someone make a program to make our life easier?

    You mean the CSV2YAML tool that this post references?

  4. 4 hours ago, someonenoone11 said:

    I had a perfectly working rAthena, Client, and openserver.

    I deleted my old rAthena (i dont use git, I manually cloned it), installed the latest rAthena (download, compile, and run), and deleted and reinstalled the sql tables on openserver.

    All 3 servers run fine. Client starts up fine, character is created fine. But once I select the character, I get a black screen.

    I hear the BGM. I hear the creaking. But then the creaking stops, on task manager it says the client is "not responding". I can't switch windows because the client is on top of everything except the task manager. The BGM continues but I can't do anything. no characters, no map, nothing. Even after I kill the client with task manager the servers don't report any errors.

    So... how to fix? I'd like to emphasize client was working perfectly before updating rAthena. rAthena and the sql tables were literally the only things I changed. I even manually moved my character from the starting izlude interior to a prontera field and still black screen and not responding.

    There are several things wrong with this post.

    I urge you, almost hysterically, to learn to update your code via git. There is literally no reason on the planet that should stop you from learning to manage your code correctly.

    Without seeing errors/error codes/consoles/core dump/error handlers, I can only assume that something is different in the way packets are being sent to your client (which you would know, if you used git). Since you deleted your old code, I imagine it may be a little difficult to pinpoint.

    What was the git hash of your old rA?

    What is the new hash of your rA?

    What is your client date?

    Are you in Renewal or Pre-Renewal mode?

    • Love 1
  5. On 11/3/2020 at 2:19 PM, AAlice said:

    I don't think you can use your http://www.YOURRO.net/?module=news link, because it will always show all of your page. You need to create a separate page.
    I just tried it with the jQuery approach on my test server and it seems to work. Just a disclaimer ahead, I am not a web developer.

    Here's what I did:

    1. Create a folder in your folder structure. I created it in the root directory of my FluxCP and named it patchernews

    2. Create a page in your new folder. I named it news.html
    3. Add these lines of code to your new page:

    <html>
    
    <link rel="stylesheet" href="style.css" type="text/css">
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script type="text/javascript">
    	jQuery(document).ready(function(){
    		jQuery("#newsbox").load("http://www.YOURRO.net/ #newscontent");
    	});
    </script>
    
    <div id="newsbox" style="width: 600px"></div>
        
    </html>

    What we do here is place a div with the ID "newsbox" on our new page. Set width: 600px to the width of your notice box in the Thor patcher.
    We then load the content of your news from the URL "http://www.YOURRO.net #newscontent". Set the URL to wherever your news are displayed on your site, but keep #newscontent.
    Of course, this only works if you have a div on this page with the ID newscontent

    4. So we will wrap a div with the ID newscontent around your news table. Go to the page where your news are displayed and place <div id="newscontent"> at the beginning and </div> at the end.

    5.  Go back to news.html and link to the stylesheet you wanna use. Replace href="style.css" with e.g. "../themes/default/css/flux.css" if you are using the default theme of FluxCP.
    You can also create a new style.css file in this folder and style the page yourself. This way you have more control over how exactly it should look in that small notice box within the patcher.

    6. Change the URL for the notice box in Thor's config.ini to 'http://www.YOURRO.net/patchernews/news.html'


    Let me know if it works.

    A very good effort! However, Thor's built-in web functionality is based on an old version of Internet Explorer which throws a hissy-fit when javascript is used.

    @Ryoma27 If you want to stick with the built-in news feature for FluxCP, I suggest using PHP & SQL queries to extract and display the data. Or post on the FluxCP Github Issues page and request for an RSS feature 😛 

    • Like 1
  6. I'm pretty sure they've closed-up. They've been removed from the 3rd Party Services page for about 2 weeks now.

    Moaning about ticket time is pointless - I checked their site against WHMCS's license checker tool and it's expired, which is why you're not getting a reply. Cus whoever runs it now can't/won't login with an expired license.

    Since further discussion will take this thread nowhere, I'll lock it as reference to anyone else that finds their way to this thread.

  7. On 9/25/2020 at 4:54 PM, SevySevy said:

    Hello, just wanna ask how do I activate the top 3 MVP's killed?

    In the config you can enable the box. The code pulls the log-data from mvplog so you need to have those turned on in your rAthena settings too.

  8. This topic is ridiculous.

    If you want to contact him, details are here https://rathena.org/thirdpartyservices/gepard-shield-30-r41/ 

    If you want to leave a review of his services, see the above link. I suggest you provide proof - Functor is a well respected member of this community and I don't take accusations or slander lightly.

    Nine times out of ten, if you feel you've been treated wrongly by anyone on the approved Third Party Services list, it's usually your fault.

    Thread locked.

    • Upvote 1
    • Love 1
  9. 10 hours ago, johnnylisboa said:

    Hi there!

    This client should work with any private server, just changing the corresponding connection parameters? Can I use it to play with my local server?

    You can, you will need to download and "diff" a client, download an English data folder translation pack and then setup your clientinfo.xml then you're good to go.

    • Like 1
  10. On 8/21/2020 at 2:34 PM, Brynner said:

    think it is a waste of time to make it for free since they will delete it once i update the diff patch.

    Would we? I'm pretty sure we don't remove content that is being actively supported by their author.

     

    On 8/21/2020 at 2:34 PM, Brynner said:

    unlike for the paid service because maybe some is making profitable for it

    The person who owns the paid service gets the profit, that's how paid services works.

     

    On 8/21/2020 at 2:34 PM, Brynner said:

    but this custom features still working up to latest version

    Post your version, actively support it, then everything will be fine.

     

    As i said:

    On 6/9/2020 at 12:23 AM, Akkarin said:

    If you're gonna start a new thread and provide support, go for it. Like i said, i removed it because the author has gone AWOL and isn't providing support for it, like we try to do to all topics for releases that are no longer supported by the original author.

     

×
×
  • Create New...

Important Information

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