gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 December 03, 2024, 05:50:34 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  Collect2
gfx
gfxgfx
 

Author Topic: Collect2  (Read 3447 times)

0 Members and 1 Guest are viewing this topic.

Offline F£¥è®

  • Forum Member
Collect2
« on: June 15, 2009, 12:41:36 pm »
This is the same as collect but instead of discarding duplicate 'gifts' this stores them and lets the roomies trade them with each other.
OS Microsoft® Windows Vista™ Home Premium, Processor Intel(R) Core(TM)2 Quad CPU  Q8200  @ 2.33GHz, 2331 Mhz, 4 Core(s), 4 Logical Processor(s), Installed Physical Memory (RAM) 6.00 GB

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: Collect2
« Reply #1 on: June 15, 2009, 04:50:17 pm »
The decreasing chance to get a new gift if you have more or almost all gifts of a collection will be a bit more chalanging by this trading. :)

A tip to make the script more adaptable if you have this many spots to change the file path is to set the path to the main (in this case plugins) folder in a main spot. This could be MXC.xml.

Code: [Select]
<OnJoinRoom type="script">
<out type="push" extdata="filepath">J:\Program Files\Metis 2.8\Plugins</out>
</OnJoinRoom>
The call to your files looks like
Code: [Select]
<out type = "push" extdata = "usergiftlist">$filepath$\info\usergiftlist\$Name$.txt</out>
or
<out type = "push" extdata = "tradebin">$filepath$\usertradelist\$Name$.txt</out>
You will have to take good care where placing the slash after the filepath, but that is at scripting time only.

good script

Offline F£¥è®

  • Forum Member
Re: Collect2
« Reply #2 on: June 15, 2009, 06:04:11 pm »
Hi wonderer,
I did try putting all the directories at the start of the 'trade' section thinking the rest of the script would just link to it,but in testing the second users files just weren't read and it only showed a repeat of the first users files.
I prolbably could have sorted it out if I wanted to spend more time looking in to it,but chose the easy option although it takes a bit longer to set up.
Thanks for your suggestions, as I've said before on here many times, constructive comments are always appreciated.

Regards F£¥è®
OS Microsoft® Windows Vista™ Home Premium, Processor Intel(R) Core(TM)2 Quad CPU  Q8200  @ 2.33GHz, 2331 Mhz, 4 Core(s), 4 Logical Processor(s), Installed Physical Memory (RAM) 6.00 GB

WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  Collect2
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.008 seconds with 23 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!