Author Topic: Binding a key to unequip an item  (Read 7238 times)

0 Members and 1 Guest are viewing this topic.

Xenos

  • Elvin Legion
  • *****
  • Posts: 485
  • Reputation: +2/-1
    • http://www.baconcat.com
Binding a key to unequip an item
« on: April 23, 2005 11:16 am CDT »
[Post deleted by administrator]

This allows a rather nasty exploit.
« Last Edit: December 31, 1969 06:00 pm CST by Xenos »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #1 on: April 23, 2005 12:40 pm CDT »
Boots of Gliding is the name of the item in the inventory, you can use("Rusty Long Sword"); to equip things eventhough the name according to the code is rlongsword as a one word thing.  bootsofgliding0 is what you need to unequip but since server names and inventory name apperance is different, there isn't much you can do to unequip.  You may try the exact same bind again i.e. use("Boots of Gliding"); but I think someone tried that before and it didn't work.  (The only reason I would think it might is because if you click use from the invo window, it takes them back off.)

Good luck.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

Artorius

  • Elvin Legion
  • *****
  • Posts: 722
  • Reputation: +0/-1
(No subject)
« Reply #2 on: April 24, 2005 10:53 am CDT »
Can't you just ask for fastswing?  :lol:


nubs....
« Last Edit: December 31, 1969 06:00 pm CST by Artorius »


"Death solves all problems - no man, no problem."

- Joseph Stalin

Xenos

  • Elvin Legion
  • *****
  • Posts: 485
  • Reputation: +2/-1
    • http://www.baconcat.com
(No subject)
« Reply #3 on: April 25, 2005 12:34 pm CDT »
Not looking for fastswing.  I still cant seem to get the unequip to work. I would be nice to switch from using paws to ww's without going to the inv screen.
« Last Edit: December 31, 1969 06:00 pm CST by Xenos »

-eViL-

  • Minotaur Rager
  • ******
  • Posts: 880
  • Reputation: +0/-0
(No subject)
« Reply #4 on: April 25, 2005 04:22 pm CDT »
use(BootsOfGliding0); should work, if it doesn't, it is because an item name was changed or because I am using the wrong capital letters for the item.

BootsOfGliding and BootsOfGliding0 should be the corresponding item names, no " 's needed for them.
« Last Edit: December 31, 1969 06:00 pm CST by -eViL- »
There's nothing ever wrong but nothing's ever right
Such a cruel contradiction

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #5 on: April 25, 2005 05:53 pm CDT »
Quote from: "-eViL-"
use(BootsOfGliding0); should work, if it doesn't, it is because an item name was changed or because I am using the wrong capital letters for the item.

BootsOfGliding and BootsOfGliding0 should be the corresponding item names, no " 's needed for them.
Tru dat yo
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
(No subject)
« Reply #6 on: April 26, 2005 01:19 am CDT »
This is my first post in about 4 months. LOL Yea I'm back ^_^ AGAIN. HAHA. Actually, to equip and unequip things I found a really great way to do it for anything. Each item has a cirtain number attached to it, and usually the unequipped and equipped are like side by side such as 22 and 23.. I know I had the code to type into the console to get the numbers than you just use like use(""); using that number I think. I'll go dig it up for you and let you know soon.. I gotta go to bed.. Prolly won't sleep now that I want to start playing RPG again ^_^ and tuesday happens to be the crappy day of the week, can't sleep in the extra hour :(. I'll let you know soon. Its a really great way to do it.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
(No subject)
« Reply #7 on: April 26, 2005 10:54 am CDT »
Umm. I've done a reformat sinse than... #&#^ now i'll have to get everything set again >_< bah, I'll look for that item thingymajiggy tonight if I have time. I'm just installing the game and RPG now.

Sorry.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
(No subject)
« Reply #8 on: April 26, 2005 11:45 pm CDT »
Yay I found it, finaly...

Code: [Select]
function DA::GetItemID()
{
%itemid = Control::getValue(InventoryList);

echo(%itemid);
}


Ok there, throw that into your autoexec or anywhere, open you invintory, select the item you want the number for, type DA::GetItemID(); in the consol and you have your item id. Use that number for whatever you need to. You'll notice that the number is different for the same item when its equipped and unequipped. ^_^

or just select an item and have
Control::getValue(InventoryList);
ready to paste.. my little function is prolly easier to remember, or you can change the funtion name to be like itemid or whatever you want that youll remember.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

Xenos

  • Elvin Legion
  • *****
  • Posts: 485
  • Reputation: +2/-1
    • http://www.baconcat.com
(No subject)
« Reply #9 on: April 27, 2005 04:48 pm CDT »
Thanks DeathAddr. Corona helped figure the rest out for me. This is how to do it.

Code: [Select]
[code removed]

The other items are 19 and 20 for glides, 21 and 22 for ww's.

Im suprised that nobody does this. You can switch to ww from paws on the fly  which is nice when your running from NFY.
« Last Edit: December 31, 1969 06:00 pm CST by Xenos »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #10 on: April 27, 2005 06:25 pm CDT »
Quote from: "Xenos"
Im suprised that nobody does this. You can switch to ww from paws on the fly  which is nice when your running from NFY.

NFY...  Now isn't he a story.  He has got to be one of the most frustrating people on PCRPG.  Admins convince him to remort instead of max and become a pain and now he is god+ in RL.  And what I really can't stand as PK is hearing people complain about him all the time then when people start to fight back, he complains that I'm not doing my job.  It's hard to have any sympathy for someone causing so many headaches.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

Xenos

  • Elvin Legion
  • *****
  • Posts: 485
  • Reputation: +2/-1
    • http://www.baconcat.com
(No subject)
« Reply #11 on: April 27, 2005 06:37 pm CDT »
You should just ignore his complaints. He is a god+ now he can handle himself.   I can only play now when he is not on because I get targeted immediately. Im only a RL 22.  The only person that can fight back against him is cronos which he does.  

How does one deal with this in game? Obviously I cant fight him, there is no way for me to win.
« Last Edit: December 31, 1969 06:00 pm CST by Xenos »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #12 on: April 27, 2005 07:17 pm CDT »
Exactly, the server is set up where the rules protect the people like him that get off on making other players miserable.  There isn't anything you can do in game except run like you are or quick binding a key to #cast transport store or something like that.  He is also a player who (in the course of a week) had over 100 RP or somewhere near there.  It isn't right when he goes around causing troubles then when Cronos tries to LCK him back to 0 RP, NFY unsavory womanes.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

DeathAdder

  • Orc Thrasher
  • ***
  • Posts: 137
  • Reputation: +0/-0
    • http://www.los.planetubh.com
(No subject)
« Reply #13 on: April 28, 2005 10:08 pm CDT »
Sigh, its bad cause NFY sais the server needs someone like him to keep things interesting... I don't know about you guys, but I'd be DAMN glad if there wasn't any pk'ing or mugging in the game. I'd still find the game fun. Hes just a messed up kid with no life. Not much you can do about that.
« Last Edit: December 31, 1969 06:00 pm CST by DeathAdder »
<img src="http://www.pcrpg.org/pics/hosted/dadder.jpg">

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #14 on: April 29, 2005 08:40 am CDT »
Quote from: "DeathAdder"
Sigh, its bad cause NFY sais the server needs someone like him to keep things interesting... I don't know about you guys, but I'd be DAMN glad if there wasn't any pk'ing or mugging in the game. I'd still find the game fun. Hes just a messed up kid with no life. Not much you can do about that.
PKing is alright for houses or for duels, mugging has it's place.  The real fact of the matter is that there should be hard-coded consequences so that admins and PKs aren't required to enforce rules.  Besides, staying within the rules (as NFY always does, to his credit) the worst that happens is that a theif fails a steal.  It's no wonder that people like him cause problems.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.