Author Topic: Help making drop script  (Read 4855 times)

0 Members and 1 Guest are viewing this topic.

Toby

  • Orc Thrasher
  • ***
  • Posts: 118
  • Reputation: +2/-4
Help making drop script
« on: September 3, 2003 10:29 am CDT »
Hi, I am wondering if someone can help me et started making a drop script. All I need is the basic outline and I can do the rest :) Thanks
« Last Edit: December 31, 1969 06:00 pm CST by Toby »

Jason_Xero

  • Uber Menace
  • *******
  • Posts: 1,349
  • Reputation: +0/-0
(No subject)
« Reply #1 on: September 3, 2003 10:49 am CDT »
I would try reverse engineering Deus's work first.
« Last Edit: December 31, 1969 06:00 pm CST by Jason_Xero »
Gotta love SBC with their 6Mbps tier for 45$
(Yes, on their site it only shows 3Mbps, but it is actually 6Mbps, I would know :)).


UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #2 on: September 3, 2003 12:43 pm CDT »
I wouldn't..

He made his own little mod in that code..

Its difficult to understand if you don't know exactly what you're doing..

All it is is a script that drops a certain item if you have it.. If you need code, i'll post.. The only way you will learn is to try it yourself..
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

bigbigger9

  • Gnoll Fighter
  • **
  • Posts: 73
  • Reputation: +0/-0
(No subject)
« Reply #3 on: September 3, 2003 05:11 pm CDT »
Erm? I have my own drop script that I made, but it doesn't work for RPG?

Here's the summary: drop("item");

By the way, just 'cause I haven't been able to use this joke in awhile, the script is introduced:

Dropix - The Ultimate in Tribal Droppings

(hehe :) )
« Last Edit: December 31, 1969 06:00 pm CST by bigbigger9 »
~bigbigger9

Lidge Farkley

  • Uber Menace
  • *******
  • Posts: 1,357
  • Reputation: +2/-3
    • http://www.angelfire.com/ca2/psychosworld2/
(No subject)
« Reply #4 on: September 4, 2003 01:15 am CDT »
I forget... depends on the kind of drop you want...

either auto-drop when it gets in your inventory... or drop when you press a key?  I think the latter is kind of useless.... and you should have a good way to turn it on/off for the items you drop.

I am useless on this subject.
« Last Edit: December 31, 1969 06:00 pm CST by Lidge Farkley »
Lend your heart unto the divine mineral TOPAZ;
from which our reverent hearts and minds sprang.
Also Known As:  Alcoholic 007
My Page of tribes Tools and Helpful "FAQ" Stuff

Toby

  • Orc Thrasher
  • ***
  • Posts: 118
  • Reputation: +2/-4
(No subject)
« Reply #5 on: September 4, 2003 12:21 pm CDT »
Yeah, I want kinda like what Lidge said, but i know the drop("item"); i just don't know how to make it run automatically and check if i have any of th item in my invo.. :( Any ideas
« Last Edit: December 31, 1969 06:00 pm CST by Toby »

Hersh

  • Elvin Legion
  • *****
  • Posts: 413
  • Reputation: +0/-0
(No subject)
« Reply #6 on: September 4, 2003 06:06 pm CDT »
Hmmm, maybe something like this...

Code: [Select]
  if(String::getSubStr(%msg, 0,13) == "You received " && $AutoDropOn == 1)
      Drop(%msg);


Note1): Drop(%msg) will be your autoDrop function, where it goes through the list of all the items you want to drop, and drops them.

Note2): $AutoDropOn is there, so you can bind a key later to toggle it.

Hersh
« Last Edit: December 31, 1969 06:00 pm CST by Hersh »

I kissed a drunk girl on the lips.
This post, by its very length, defends itself against the risk of being read.

Lidge Farkley

  • Uber Menace
  • *******
  • Posts: 1,357
  • Reputation: +2/-3
    • http://www.angelfire.com/ca2/psychosworld2/
(No subject)
« Reply #7 on: September 5, 2003 02:15 am CDT »
Hersh... have you always been a codemeister or is this something new I didn't know about you untill just last week? :-D

It's cool! !
« Last Edit: December 31, 1969 06:00 pm CST by Lidge Farkley »
Lend your heart unto the divine mineral TOPAZ;
from which our reverent hearts and minds sprang.
Also Known As:  Alcoholic 007
My Page of tribes Tools and Helpful "FAQ" Stuff

Hersh

  • Elvin Legion
  • *****
  • Posts: 413
  • Reputation: +0/-0
(No subject)
« Reply #8 on: September 6, 2003 12:17 am CDT »
Well hell, he asked for something that would be automatic, now every time that message goes through the chat box it runs through the Drop script. There's probably a better way to do it but I dunno it.
Heh, and no nothing new, just a lot of old.  :wink:

Hersh
« Last Edit: December 31, 1969 06:00 pm CST by Hersh »

I kissed a drunk girl on the lips.
This post, by its very length, defends itself against the risk of being read.