EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Custom (https://www.eqemulator.org/forums/forumdisplay.php?f=671)
-   -   Random Stuff. (https://www.eqemulator.org/forums/showthread.php?t=37234)

Kingly_Krab 09-01-2013 11:34 AM

Random Stuff.
 
These are a few scripts I've been fiddling with the last couple of weeks, just adding more things as I find them and see that they'd be cool, feel free to take a look.

Some may be useful, like the Race and Zone Hash, others are just screenshots of my current workload.

Player Controls: http://prntscr.com/1opwiq

Player Information: http://prntscr.com/1opw4n

Player Target Information: http://prntscr.com/1opw78

Player Editing Help: http://prntscr.com/1opwap

NPC Controls: http://prntscr.com/1opwh0

NPC Information: http://prntscr.com/1opwmb

NPC Target Information: http://prntscr.com/1oq1tl

NPC Editing Help: http://prntscr.com/1opwq7

Server Controller Controls: http://prntscr.com/1opwsr

Server Controller Information: http://prntscr.com/1opxa3

Server Controller Target Information: http://prntscr.com/1opxep

Server Controls: http://prntscr.com/1opww0

Test Target NPC Dialogue: http://prntscr.com/1opxkg

Equipment Viewing: http://prntscr.com/1oq2e8

Test Console NPC Dialogue: http://prntscr.com/1opy6n

Global Messages: http://prntscr.com/1opybh

Zone Hash: http://pastebin.com/Viy6dspn

Gender Hash: http://pastebin.com/NSBphBiT

Race Hash: http://pastebin.com/b92SGEpT

Deity Hash: http://pastebin.com/C03cqePf

Class Hash: http://pastebin.com/VQNjQsvS

Skill Hash: http://pastebin.com/qYy7w9HP

rencro 09-01-2013 01:22 PM

Nice stuff.. Question, isn't agnostic 396, or I assume both work?

Kingly_Krab 09-01-2013 01:31 PM

I believe 396 of Agnostic is for items, but I'm not sure, I just set it as 140. I can make a character with Agnostic and get back to you.

EDIT: Tested. 140 Is Agnostic, 396 is for items I believe.

rencro 09-01-2013 01:53 PM

In the char_create_combinations table, for Vah Shir it uses 396 for deity. Wonder if its interchangeable, guess I'll try..

Code:

allocation_id, race, class, deity, start_zone, expansions_req
80        130        1        396        394        2052
80        130        1        396        155        4
75        130        8        396        394        2052
75        130        8        396        155        4
78        130        9        396        394        2052
78        130        9        396        155        4
79        130        10        396        394        2052
79        130        10        396        155        4
76        130        15        396        394        2052
76        130        15        396        155        4
77        130        16        396        394        2116
77        130        16        396        155        68


Kingly_Krab 09-01-2013 02:31 PM

That's really weird, it may be interchangeable, haven't tried anything with it beyond the hash.

EDIT: Made a Vah Shir, made him Agnostic, and it still says Agnostic, even though my hash only contains 140, thus meaning the 396 is the same as the 140, possibly?

Kingly_Krab 09-02-2013 05:08 PM

On line 50 of global_player.pl you'll see this, change that to the ID of your server controller NPC.

This is Version 1.0, I will be releasing more versions once I come up with more ideas.

CREDITS: Thank you Akkadius for the idea as to your targeting system on your server, thus how I got the idea for mine.

NOTE: If you find any errors or have any suggestions, feel free to message me, thanks.
Code:

if($UserTarget->GetNPCTypeID() == Server Controller ID)
Test_Console_NPC.pl: http://pastebin.com/5hMgT9cu

Test_Target_NPC.pl: http://pastebin.com/yxeScbVd

Global_Player.pl: http://pastebin.com/EQwswZ0P


P.S. Leaving in the credits line just makes it that much more special. Not really, but it'd be nice if you gave credit!

If you want to remove it, search for this:
Code:

##Little Extra -- Credits Line##
if($text=~/^#Credits$/i)
{
        $client->Message(257, "The Server tells you, 'This script was written by Kingly_Krab for the public, if you leave this line in I love you.'");
        $client->Message(257, "The Server tells you, 'You currently have Version 1.0 of Kingly_Krab's global_player.pl.'");
}

EDIT: Forgot to mention I didn't tell you about "#fullheal", it completely restores health, mana, and endurance.

HnathBST 09-10-2013 03:09 AM

Quote:

Originally Posted by Kingly_Krab (Post 223947)
This is Version 1.0, I will be releasing more versions once I come up with more ideas.
...

Do these scripts still work? I am trying to do something similar and I can not get the sub EVENT_SAY to accept an unused #command (such as #blarg) I have tried adding them to the command table in the database, commands.pl (using commands_init and command_add) I'm having absolutely no luck adding my own custom commands.

Kingly_Krab 09-10-2013 07:13 AM

If you cannot get the # commands to work try taking the # out, as I have this working, with the #, on the newest revision, although taking out the # has proved helpful in my other endeavors.

HnathBST 09-10-2013 08:30 AM

Quote:

Originally Posted by Kingly_Krab (Post 224165)
If you cannot get the # commands to work try taking the # out, as I have this working, with the #, on the newest revision, although taking out the # has proved helpful in my other endeavors.

Thanks for the quick response, I went ahead and replaced the # with ! at least until I could figure out how to get the #commands to work.

Great set of utilities btw

:)

Kingly_Krab 09-10-2013 03:44 PM

Quote:

Originally Posted by HnathBST (Post 224166)
Thanks for the quick response, I went ahead and replaced the # with ! at least until I could figure out how to get the #commands to work.

Great set of utilities btw

:)

Thanks man, working on a couple more, I'll post some screenshots later today if I have the time. And yeah, that's fine, apparently the new source doesn't like fake # commands, sorry for the inconvenience.

Kingly_Krab 09-11-2013 09:23 PM

I have been working on a couple more things, the ones I am taking a screenshot of are completely finished.
Current Finished Projects: http://prntscr.com/1qri8o
Current Finished Projects (Continued): http://prntscr.com/1qricb

Kingly_Krab 10-07-2013 12:10 AM

A custom system I made myself, although not exactly an original idea, just an original take on it. So, as you progress through Rebirths, your power increases.

Rebirth 0: http://prntscr.com/1vrt10
Rebirth 100: http://prntscr.com/1vrt83

The damage is calculated as so:
Code:

damage = damage * (rebirth / 5)
Teleporters:
Non-Rebirth Teleporter: http://prntscr.com/1vwmfx
Rebirth Teleporter: http://prntscr.com/1vwmk3

Those teleporters are temporarily set as shown in the picture, but can be changed in the future, these are just random zones, not actual content.

Township EQ 10-07-2013 01:14 AM

These are awesome man.. thanks so much for doing this and making it public.

Kingly_Krab 10-08-2013 10:56 PM

Quote:

Originally Posted by Township EQ (Post 224680)
These are awesome man.. thanks so much for doing this and making it public.

It's nice to give back, speaking of giving back, here's seven plugins. I have them saved in my plugins folder as custom.pl, although it doesn't matter what you save it as, as long as you save it in the plugins folder it will work.

Plugins:
  1. Skill(skill id)
  2. Class(class id)
  3. Race(race id)
  4. Deity(deity id)
  5. Gender(gender id)
  6. Zone(zone id)
  7. ZoneShortName(zone id)

Examples:
  1. Skill(1) = "1H Slashing"
  2. Class(1) = "Warrior"
  3. Race(1) = "Human"
  4. Deity(140) = "Agnostic"
  5. Gender(0) = "Male"
  6. Zone(1) = "South Qeynos"
  7. ZoneShortName(1) = "qeynos"

EDIT: Sorry for not posting this with the original, here is my report system, I have released this to Chu, the owner of Equilibrium, and it's working rather well, so I thought I would release it.

You may change the time between reports from 30 minutes to however many minutes, hours, days, whatever. Guides can only view, Admins can clear and view, Players, Admins, and Guides can report.

Plugins: http://pastebin.com/AtqS8F2p
Reports: http://pastebin.com/kiVe8Gw8
Reports Table: http://pastebin.com/S0bHeEAK

Drakiyth 10-08-2013 11:28 PM

These are some really useful scripts/tools, Kinglykrab. Thank you for your hard work.


All times are GMT -4. The time now is 03:37 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.