Smoke

Members
  • Content Count

    34
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    1

Smoke last won the day on April 2

Smoke had the most liked content!

Community Reputation

8 Neutral

4 Followers

About Smoke

  • Rank
    Drops

Profile Information

  • Gender
    Male
  • Location
    Mumbai

Recent Profile Visitors

2,028 profile views
  1. Greetings everyone, Today I'm introducing a project that I've been envisioning and working on for a couple of months, a control panel developed using Laravel (currently v5.8) that has quite a few advanced features that no other panel has offered before. Blade Control Panel Bootstrap Responsive Design The panel by default will come with one bootstrap-based responsive design that is elegant, light coloured and adjusts to screens of all sizes. The panel is also capable of supporting custom themes. Master Account System Create and manage all your game accounts in any server from one main web-account. Passwords of the master accounts are hashed using bcrypt to ensure safety for all registered users. ROGen Adapted from @KeyWorld's ROChargen, a library in php that extracts images from sprites and uses resources inside data folders (and not grf files). With the help of this library images of headgears, skill icons, illustrations, item images, monsters and mini maps are can be generated and displayed on web pages. Complete Database Libraries Using a library with conversions of information in the client folder, the website incorporates in-game information such as skill and item descriptions, quest information and much more. Character Overview The character overview page is an important part of a user's experience. With the features mentioned above, we're able to display alot of information about one's in-game characters on the fly. User Profiles Additionally, something that's never been seen before in RO CMS or Panels are public user profiles. The ability of a user to view another user's in-game information through the control panel. Customisable Email Templates Administration Section Live Demo The demo for this site is live and available at - http://demo.bladecp.xyz ID: [email protected] Pass: abcdef Purchase Visit http://bladecp.xyz/.
  2. This is handled by the script, and for enriched ores the function is rolled twice. (I personally don't think this is the official way).
  3. Well, you didn't add a morphembryo; in the second case.
  4. You might want to show the rest of the script for better help?
  5. According to the rA documentation - *rand(<number>{,<number>}); This function returns a number ... (if you specify one) ... randomly positioned between 0 and the number you specify -1. (if you specify two) ... randomly positioned between the two numbers you specify. rand(10) would result in 0,1,2,3,4,5,6,7,8 or 9 rand(0,9) would result in 0,1,2,3,4,5,6,7,8 or 9 rand(2,5) would result in 2,3,4 or 5 in your case, the rand can range 0~4 (6047 ~ 6051) where homunculus 6047 doesn't exist.
  6. So I decided to convert client side lua/text files to SQL for use on web applications. Repository: https://github.com/Smokexyz/ROClientSideDatabase Files done - iteminfo.lua questid2display.txt You could probably do cool things like make item/quest tooltips (like they do for WoW) or just link item/quest descriptions on your website. I'd be happy to help with PHP/JS stuff.
  7. What are the errors? Download this... hourly_points.txt
  8. There's no way unless modified in source. Even if you use getinventorylist; and loop through the items, there's no third argument for delitem to specify the inventory index.
  9. I've come up with something that I think would be cooler and can be altered further but I haven't checked it in-game. Please feel free to try the following piece of code - //===== Hourly Points Script ========================================= //===== By: ========================================================== //= Smokexyz //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every specified seconds of gameplay. Conditional checks //= for AFK / Vending are provided. Permanent total character playtime //= is also calculated as a by-product. // - script sxyz_hourly_points -1,{ // Init the Awesomeness of this NPC. OnInit: .AFKCheckDelay, 300; // (in seconds) 5 minutes AFK Delay .RewardTimeDelay, 3600; // (in seconds) 1 hour delay between point giving. .RewardPoints, 10; // Points rewarded every .RewardTimeDelay .CheckAFK, 0; // Enable/Disable AFK Checks .CheckVendChat, 1; // Enable/Disable Vending/Chatting Checks. end; // Attach the timer when the player logs in. OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; addtimer 1000,"sxyz_hourly_points::OnProcess"; end; OnProcess: // Exclude Vendors from playtime/Afk Checks. if((checkvending() >= 1 || checkchatting()) && .CheckVendChat) { set [email protected], 1; } else if (.AFKCheckSeconds <= playtime && .CheckAFK) { getmapxy( [email protected]$, [email protected], [email protected], 0 ); if ([email protected]$ == @map$ && [email protected] == @x && [email protected] == @y ) set [email protected], 1; } if ([email protected]) { [email protected] = gettimetick(2); // Reward the player if check passes. if (([email protected] - @last_active) >= .RewardTimeDelay) { set #REWARDPOINTS, #REWARDPOINTS+ .RewardPoints; dispbottom "[Hourly Points] You've gained "+.RewardPoints+" points! (Playtime: "+playtime+"s)"; } getmapxy( @map$, @x, @y, 0 ); set playtime,playtime++; set @last_active, gettimetick(2); } addtimer 1000,"sxyz_hourly_points::OnProcess"; end; }
  10. Bump, I'm willing to pay for this edit please pm me.
  11. Hi, I'm from India and currently receiving donations through paypal aren't permitted in our country. I will need to change this to a buy now button keeping the automated amount increment process, is there a simple way to do this? Any help would be appreciated.
  12. Thank you for that, but unfortunately my script is more complex than just a single quest. If there isn't a general way I will have to resort to storing the id in a variable as you suggested.
  13. Hi, I'm trying to get the mob-id from specific hunting quest in quest_db.txt, for example : 7074,0,2017,1,0,0,0,0,"Rata Hunt" Is there a way i can pull 2017 or 1 via script command and use it in a script?
  14. Hello, Is it possible to use a data from a mysql database hosted on another vps via an npc script? somewhat like the way its possible with php. I'd just like to know this and if possible, how to do it. Thanks
  15. It says at mob.c:172 Check what you patched there.