Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH]

Junior Spellweaver
Joined
May 14, 2011
Messages
174
Reaction score
325
Hey guys,

A few months ago I started updating or rather extending the first version of the IDK Server which was released more than a year ago. Seems like I'm hardly able to say goodbye to the project.

I don't care about a pre-shuffle server, WHY DO YOU DO THIS TO ME?!?!
Please leave the thread. Now. Stop. Leave it. Now. Go. Ok you definitely care about pre-shuffle server.

I added a whole bunch of stuff:
  • All pre-shuffle Wireds (including conditions)
  • Infobus polls and room polls
  • Wordfilter and spam protection
  • Catalog sets (and WIRED sets)
  • RemoteConnect or MUS (why mus?!) function (Infobus polls)
  • Moderation tools and support pages
  • All navigator pages (rooms of your friends, etc.)
  • Avatar changing scripting check (Add your current figuredata.xml to the emulator path)
  • Room events
  • Badges
  • Staff commands
  • One way gate
  • PETS (dragons (love them btw, they look so pretty), cats, dogs, terriers and crocodiles) fully functional
  • Fixed a lot of bugs and improved task handling
  • Avatar wardrobe

So what's missing?
  • Staff recommendations
  • Quests
  • Trax
  • Marketplace
  • Some achievements
  • Freeze & Football

How do pets work?
  • All messages depending on the pet's mood are configurable
  • Pets are loosing energy when they are given commands (50% chance of executing command and gaining XP)
  • When pets are hungry they search for something to eat (Eatable items are configurable as well, all pets do have their own preferences)
  • When pets get something to eat, they gain energy
  • Happiness of pets increases when they're not thirsty and not hungry
  • Happiness of pets decreases when their energy is full and nobody gets to play with them
  • When pets sleep in a basket, they get more energy than they would do if they were laying on the ground.
  • If a pet is not happy, you may not give it commands.
  • When scratching a pet, it gains 10 XP and happiness.
  • Refilling a water bowl is free.
  • Pets do random tricks if they feel happy (toys configurable)

All pet commands are accessible right from the beginning but you are able to set a minimum XP condition in the database.

What commands do I have?
  • :info
  • :pickall
  • :refresh_catalog
  • :refresh_furniture
  • :refresh_room
  • :refresh_bots
  • :refresh_level_rights
  • :refresh_settings
  • :refresh_helptool
  • :refresh_room_polls
  • :shutup <nickname> (This command will silence the target user for a period of 2 minutes. You can change the time in the settings)
  • :unmute <nickname>(This command will allow a user you have previously used the :shutup command on to talk again before
    the 2 minute period expires)
  • :roomshutup (This command will silence the chat of all the users in the room for a period of 2 minutes when entered
    into the text input box. You can change the time in the settings)
  • :roomunmute/:eventunmute (This command allows all the users in a room to talk again after the :eventmute/:roomshutup command has been used)
  • :eventmute <time in minutes> <message> (This command will silence the chat of all the users in public rooms for a specified period of time)
  • :roomalert <message> (This command enables you to send an anonymous message to all the users in the room, which will
    appear as a pop-up on their screen)
  • :roomkick <message> (This command will remove all the users in the room temporarily and return them to Hotel View)
  • :softkick <nickname> (This command will remove the target user from the room temporarily and return them to the Hotel View) (The user goes out the door)
  • :kick <nickname> <message> (This command will remove the target user from the room temporarily and return them to the Hotel View)
  • :ban <nickname> [<time in hours>] <message> (This command will remove the target user from the hotel for the amount of time specified. If no time is
    specified, the user will be removed for a default time of 2 hours. You can change the time in the settings)
  • :hotelalert <message> (Sends a message to all players online)
  • :coins <nickname> <amount> (Sends an amount of coins to a player)
  • :pixels <nickname> <amount> (Sends an amount of pixles to a player)
  • :shells <nickname> <amount> (Sends an amount of shells to a player)
  • :awardbadge <nickname> <badgeCode> (Sends a badge to a player)

See some old screens: https://forum.ragezone.com/f353/pre-shuffle-idk-java-emulator-1033300/

"New" screens:

QCPtJU - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


Uhb27GX - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


kP0CWNP - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


lopacS0 - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


qcPsQO4 - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


yB45qls - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


8ecthIQ - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


CR9DX69 - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


bi5kCIs - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


xBZAgxa - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


Plugin system
Extended the plugin system as well but forgot the details.

We added an "unloadPlugin" function which should be implemented in every plugin you create. It tells the server if it may unload the plugin (not stoppable if the value of the bypassed argument "shutdown" is "true") by returning "true". So you got the possibility to save plugin data to the database or to delay a plugin update when a plugin event is running.

By using the python program "idktrans" (included in the utility directory of the download, got there also some plugin examples) you are now able to connect multiple projects files and "compile" them into one plugin file using the "require" function which is well known from NodeJS.

v5g5dIv - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


PETRBA - [PRE-SHUFFLE] IDK Java Emulator v2 [SCRATCH] - RaGEZONE Forums


The "compiled file" of the example would be

We got some plugin videos as well (don't think that I'll include the plugin files)


Download
Server, database, utility pack:

RCON library (PHP):

How to build it?
You need JDK 1.8+

To build everything using Gradle (the command below will download Gradle automatically, you do not need to download it first).

"./gradlew clean dist" (Linux/MacOS)
"gradlew clean dist" (Windows)

The distribution ready file can then be found under build/distributions. The other JAR files can be found under build/libs.

RCON library - example of use
Code:
<?php

include ('rcon.class.php');

use IDK\RconInstance;
use IDK\InfobusQuestion;

$rconInstance = new RconInstance("127.0.0.1", 38102);
$roomId = -1;

$rconInstance->sendData(new InfobusQuestion($roomId, "Question", [
	"Answer 1",
	"Answer 2",
	"Answer 3"
]));

Cheers,
Steve Winfield
 
Last edited:
:joy:
Member
Joined
Apr 30, 2007
Messages
2,337
Reaction score
1,547
Definitely giving this a download and a test. Thank you!

Not a fan of Java emulators but this has a great feature set. Much appreciated & thanks for contributing!

EDIT:

File doesn't exist! Noo!
 
Custom Title Activated
Member
Joined
Oct 26, 2012
Messages
2,357
Reaction score
1,086
Looking decent, good job! Though I can almost see the 'IDK Java New Crypto' emulators coming.
 
Typescript XOXO
Joined
Sep 10, 2011
Messages
779
Reaction score
137
I loved v1 of this EMU, so it's glad to see your work being continued:)
 
Not so spooky...
Member
Joined
May 22, 2010
Messages
1,017
Reaction score
276
Nice to see that you continued the project!
 
Ask me about Daoism
Member
Joined
Nov 6, 2010
Messages
1,560
Reaction score
393
Is this our first actual Java emulator in the section? Like, the first one that's capable of being used on a hotel?

If so, the game has just been changed man.
 
Master Summoner
Joined
Apr 17, 2012
Messages
508
Reaction score
77
Thanks for releasing! Nice to hear you're still working on it. This also would be a good base for R63B emulators for sure.
 
Developer
Developer
Joined
Dec 11, 2010
Messages
2,953
Reaction score
2,675
Is this our first actual Java emulator in the section? Like, the first one that's capable of being used on a hotel?

If so, the game has just been changed man.

No, there's been a few.

- Habbod

- Neutrino (lol not really sure about this?)

- Comet 2014

- Crowley

- Grizzly

- Sierra
 
Junior Spellweaver
Joined
May 14, 2011
Messages
174
Reaction score
325
There is also a RCON (MUS) library for PHP applications.

Source code:
 
git bisect -m
Member
Joined
Sep 2, 2011
Messages
2,171
Reaction score
916
This a really decent Emulator! Liked it, really!

It's pre-shufle, but is awesome!



No, there's been a few.

- Habbod

- Neutrino (lol not really sure about this?)

- Comet 2014

- Crowley

- Grizzly

- Sierra

All these emulators never finished. This is the first that i see with all that features.
 
☮TAKU????
Member
Joined
Nov 16, 2009
Messages
866
Reaction score
580
Ah may gawd!!! This is the best porn I've ever watched. So excited about this, will be used in production.
 
Back
Top