Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Hyperspace core modules
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  <c> initial Post :: Post <c> Setting banners (example)  View next topic  
Author Message
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Jan 04, 2008 9:04 pm    Post subject: Reply to topic Reply with quote

BTW, I have no problem compiling the HS modules under Windows.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:31
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Fri Jan 04, 2008 10:55 pm    Post subject: Reply to topic Reply with quote

even I got it to work icon_smile.gif ....With clear instructions how to from cypherjf
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Mar 03, 2008 8:49 pm    Post subject: Reply to topic Reply with quote

Uploaded new version.

Lots of bug fixes. Ammo works. Probably some new properties.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
tcsoccerman
Server Help Squatter


Age:31
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Mar 03, 2008 9:34 pm    Post subject: Reply to topic Reply with quote

in the first post?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Mar 04, 2008 8:40 am    Post subject: Reply to topic Reply with quote

Yes.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Acer1001
Newbie


Joined: Jun 13 2008
Posts: 20
Offline

PostPosted: Fri Jul 11, 2008 4:39 pm    Post subject: Reply to topic Reply with quote

I tried adding this in and when i tried to start asss it just opened and closed quickly. Any reason why it would be doing that?
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Jul 11, 2008 8:31 pm    Post subject: Reply to topic Reply with quote

Probably something isn't loading right. Open up a command window and start it in there. That should let you know what's going wrong.

The log file might also have useful information.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Acer1001
Newbie


Joined: Jun 13 2008
Posts: 20
Offline

PostPosted: Sat Jul 12, 2008 11:19 pm    Post subject: Reply to topic Reply with quote

I get this when i open it from a command prompt: "Loading modules...
Unrecoverable error (5): Error in modules.conf: Can't open file 'conf/modules.conf for reading"
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sat Jul 12, 2008 11:37 pm    Post subject: Reply to topic Reply with quote

You were running asss from the wrong directory.

in game update: trying to use the linux binaries on windows.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Aquarius
Newbie


Age:36
Gender:Gender:Male
Joined: Oct 02 2007
Posts: 12
Location: Lehighton
Offline

PostPosted: Thu Dec 17, 2009 2:30 am    Post subject: Reply to topic Reply with quote

I just dropped hscore in src, did make deps and make, this is what I got: (ASSS 5 RC1)

Code: Show/Hide
make
gcc -std=gnu99 -pipe -I. -Iinclude -I../build  -Ihscore -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall   -c -o ../build/hscore_buysell.o hscore/hscore_buysell.c
gcc -std=gnu99 -pipe -I. -Iinclude -I../build  -Ihscore -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall   -c -o ../build/hscore_commands.o hscore/hscore_commands.c
gcc -std=gnu99 -pipe -I. -Iinclude -I../build  -Ihscore -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall   -c -o ../build/hscore_database.o hscore/hscore_database.c
hscore/hscore_database.c:163: warning: ?getItemTypeByID? defined but not used
gcc -std=gnu99 -pipe -I. -Iinclude -I../build  -Ihscore -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall   -c -o ../build/hscore_items.o hscore/hscore_items.c
hscore/hscore_items.c: In function ?doEvent?:
hscore/hscore_items.c:697: error: ?Igame? has no member named ?SetFreqAndShip?
make: *** [../build/hscore_items.o] Error 1
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Dec 17, 2009 8:03 am    Post subject: Reply to topic Reply with quote

That version was built against an older version of the core. Grab a newer copy from here: http://bitbucket.org/drbrain/hscore/

If you don't have mercurial, you can use the get source button in the upper right hand corner of the website to download a zip or tar file.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
KrynetiX
Seasoned Helper


Gender:Gender:Male
Joined: Jan 06 2003
Posts: 137
Location: Poconos
Offline

PostPosted: Fri Dec 18, 2009 4:47 am    Post subject: Reply to topic Reply with quote

during make
It was first missing selfpos.h which I couldn't find at http://bitbucket.org/drbrain/hscore/

I found it here http://forums.minegoboom.com/viewtopic.php?t=8092&highlight=selfpos+h

ran make again, now missing formula.h, but i don't really want to hunt these files down and mix up versions

It seems like it might just be missing util package from the thread above

So adding formula.h and selfpos.h and running make gave me a problem with rewards.c

Code: Show/Hide
hscore/hscore_rewards.c:84: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
hscore/hscore_rewards.c:94: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
hscore/hscore_rewards.c: In function ?update_flag_rewards?:
hscore/hscore_rewards.c:221: error: ?FormulaVariable? undeclared (first use in this function)
hscore/hscore_rewards.c:221: error: (Each undeclared identifier is reported only once
hscore/hscore_rewards.c:221: error: for each function it appears in.)
hscore/hscore_rewards.c:221: error: expected ?;? before ?arena_var?
hscore/hscore_rewards.c:222: error: ?arena_var? undeclared (first use in this function)
hscore/hscore_rewards.c:223: error: ?VAR_TYPE_ARENA? undeclared (first use in this function)
hscore/hscore_rewards.c:225: error: ?freq_var? undeclared (first use in this function)
hscore/hscore_rewards.c:226: error: ?VAR_TYPE_FREQ? undeclared (first use in this function)
hscore/hscore_rewards.c:235: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:235: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:235: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c:245: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:245: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:245: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c:255: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:255: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:255: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c:265: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:265: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:265: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c: In function ?calculateKillExpReward?:
hscore/hscore_rewards.c:405: error: ?FormulaVariable? undeclared (first use in this function)
hscore/hscore_rewards.c:405: error: expected ?;? before ?killer_var?
hscore/hscore_rewards.c:406: error: ?killer_var? undeclared (first use in this function)
hscore/hscore_rewards.c:407: error: ?VAR_TYPE_PLAYER? undeclared (first use in this function)
hscore/hscore_rewards.c:409: error: ?killed_var? undeclared (first use in this function)
hscore/hscore_rewards.c:412: error: ?bounty_var? undeclared (first use in this function)
hscore/hscore_rewards.c:413: error: ?VAR_TYPE_DOUBLE? undeclared (first use in this function)
hscore/hscore_rewards.c:415: error: ?arena_var? undeclared (first use in this function)
hscore/hscore_rewards.c:416: error: ?VAR_TYPE_ARENA? undeclared (first use in this function)
hscore/hscore_rewards.c:428: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:428: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:428: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c:440: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:440: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:440: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c: In function ?calculateKillMoneyReward?:
hscore/hscore_rewards.c:462: error: ?FormulaVariable? undeclared (first use in this function)
hscore/hscore_rewards.c:462: error: expected ?;? before ?killer_var?
hscore/hscore_rewards.c:463: error: ?killer_var? undeclared (first use in this function)
hscore/hscore_rewards.c:464: error: ?VAR_TYPE_PLAYER? undeclared (first use in this function)
hscore/hscore_rewards.c:466: error: ?killed_var? undeclared (first use in this function)
hscore/hscore_rewards.c:469: error: ?bounty_var? undeclared (first use in this function)
hscore/hscore_rewards.c:470: error: ?VAR_TYPE_DOUBLE? undeclared (first use in this function)
hscore/hscore_rewards.c:472: error: ?arena_var? undeclared (first use in this function)
hscore/hscore_rewards.c:473: error: ?VAR_TYPE_ARENA? undeclared (first use in this function)
hscore/hscore_rewards.c:485: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:485: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:485: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c:497: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:497: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:497: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c: In function ?getPeriodicPoints?:
hscore/hscore_rewards.c:711: error: ?FormulaVariable? undeclared (first use in this function)
hscore/hscore_rewards.c:711: error: expected ?;? before ?arena_var?
hscore/hscore_rewards.c:712: error: ?arena_var? undeclared (first use in this function)
hscore/hscore_rewards.c:713: error: ?VAR_TYPE_ARENA? undeclared (first use in this function)
hscore/hscore_rewards.c:715: error: ?freq_var? undeclared (first use in this function)
hscore/hscore_rewards.c:716: error: ?VAR_TYPE_FREQ? undeclared (first use in this function)
hscore/hscore_rewards.c:719: error: ?flags_var? undeclared (first use in this function)
hscore/hscore_rewards.c:720: error: ?VAR_TYPE_DOUBLE? undeclared (first use in this function)
hscore/hscore_rewards.c:732: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:732: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:732: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c:742: warning: passing argument 3 of ?formula->EvaluateFormulaInt? makes integer from pointer without a cast
hscore/hscore_rewards.c:742: note: expected ?int? but argument is of type ?void *?
hscore/hscore_rewards.c:742: error: too many arguments to function ?formula->EvaluateFormulaInt?
hscore/hscore_rewards.c: In function ?MM_hscore_rewards?:
hscore/hscore_rewards.c:1134: error: ?Iformula? has no member named ?RegPlayerProperty?
hscore/hscore_rewards.c:1134: error: ?player_exp_callback? undeclared (first use in this function)
hscore/hscore_rewards.c:1135: error: ?Iformula? has no member named ?RegPlayerProperty?
hscore/hscore_rewards.c:1135: error: ?player_money_callback? undeclared (first use in this function)
hscore/hscore_rewards.c:1141: error: ?Iformula? has no member named ?UnregPlayerProperty?
hscore/hscore_rewards.c:1142: error: ?Iformula? has no member named ?UnregPlayerProperty?
make: *** [../build/hscore_rewards.o] Error 1
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Dec 18, 2009 8:05 am    Post subject: Reply to topic Reply with quote

Sorry, I completely forgot about hs_util. Grab the latest copy from http://bitbucket.org/drbrain/hs_util/ and put it into hs_util in src/

"make clean", and "make" should do the trick after that.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
KrynetiX
Seasoned Helper


Gender:Gender:Male
Joined: Jan 06 2003
Posts: 137
Location: Poconos
Offline

PostPosted: Fri Dec 18, 2009 4:09 pm    Post subject: Reply to topic Reply with quote

edit: solved


Edit: it all compiled fine (except for these strange lines of make output)
at the very beginning:
Code: Show/Hide
jess@jess-desktop:~/Desktop/as3/src$ make
Makefile:114: ../build/deps.mk: No such file or directory


and towards the end:
Code: Show/Hide
warning: I_ARENAPLACE::Place: guessing arena from player argument
warning: CB_SET_BANNER: guessing arena from player argument
warning: I_CAPMAN::HasCapability: guessing arena from player argument
warning: I_CAPMAN::HigherThan: guessing arena from player argument
warning: CB_CHATMSG: guessing arena from player argument
warning: CB_SHIPFREQCHANGE: guessing arena from player argument
warning: CB_SPAWN: guessing arena from player argument
warning: CB_SAFEZONE: guessing arena from player argument
warning: CB_GREEN: guessing arena from player argument
warning: CB_ATTACH: guessing arena from player argument
warning: CB_CROWNCHANGE: guessing arena from player argument


giving run/asss a go loads all core modules, proceeds to load hscore_myql,database,money, and fails at items:
Code: Show/Hide
I <cmod> loading C module 'hscore_items' from 'hscore'
E <cmod> error loading module 'hscore_items'
Unrecoverable error (5): Error in loading module 'hscore:hscore_items'
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Dec 18, 2009 5:38 pm    Post subject: Reply to topic Reply with quote

You have nothing to worry about with those lines in your make output.

Here's a list of modules to start with:

Code: Show/Hide

hs_util:selfpos
hs_util:kill
hs_util:menu
hs_util:formula

hscore:hscore_mysql
hscore:hscore_database
hscore:hscore_money
hscore:hscore_items
hscore:hscore_wepevents
hscore:hscore_buysell
hscore:hscore_commands
hscore:hscore_storeman
hscore:hscore_enforcer
hscore:hscore_rewards
hscore:hscore_spawner

; optional
hscore:hscore_balancer
hs_util:formula_cmd


You were missing selfpos for hscore_items.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Dec 18, 2009 5:59 pm    Post subject: Reply to topic Reply with quote

Player capabilities:
Code: Show/Hide
cmd_buy
cmd_sell
cmd_ships
cmd_shipstatus
cmd_shipitems
cmd_shipinfo
cmd_resetyesiknowwhatimdoing
cmd_iteminfo
cmd_money
privcmd_give
privcmd_showmoney
privcmd_showexp
cmd_killmessages
cmd_bountytype
cmd_storeinfo

Sysop:
Code: Show/Hide
cmd_reloaditems
cmd_storeall
cmd_grantitem
privcmd_grantitem

Mod:
Code: Show/Hide
privcmd_ships
privcmd_shipstatus
privcmd_shipitems
cmd_grant
privcmd_grant
cmd_grantexp
privcmd_grantexp
cmd_setmoney
privcmd_setmoney
cmd_setexp
privcmd_setexp
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Aquarius
Newbie


Age:36
Gender:Gender:Male
Joined: Oct 02 2007
Posts: 12
Location: Lehighton
Offline

PostPosted: Fri Dec 18, 2009 9:30 pm    Post subject: Reply to topic Reply with quote

I understand most of the data base except item_events and item_properties.

Can you explain these rows?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Dec 18, 2009 10:39 pm    Post subject: Reply to topic Reply with quote

Item properties is the easy one:
item_id corresponds to the id in the item table
name corresponds to the name of the property (e.g. thrust)
value is the +1 or -5 or whatever
absolute is if the value should override the ship default (absolute properties are displayed as an = in ?iteminfo)
ignore_count means that the value is unaffected by how many copies of the item you have.
id is just a unique way to address that row, and can be left NULL during creation.

Item events:
event is the name of the event (e.g. bullet)
action is an integer corresponding to the action (see later)
data depends on the action
message is a message sent to the player during the action

The action #s can be found in hscore_types.h near the top. They start from zero and count up. So ACTION_PRIZE is 3, and uses the data field as the prize #.

You don't need events to create most items, thankfully.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
KrynetiX
Seasoned Helper


Gender:Gender:Male
Joined: Jan 06 2003
Posts: 137
Location: Poconos
Offline

PostPosted: Fri Dec 18, 2009 11:06 pm    Post subject: Reply to topic Reply with quote

I'm a bit confused. How would I for example make an item that prizes 500 bounty.

Edit: Also,
how would I make a simple +1 bomb level item?
Does absolute mean that warbird:initial/maxbombs can =1 in arena.conf but the warbird who bought it will still go up to lvl2?
As for ships_allowed, do i take 1,2, 4, 8, 16, 32, 64, 128 and add them all together making the value 255 if i want all ships to have access to the item? (255 seems to only allow warbird)
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sat Dec 19, 2009 9:30 am    Post subject: Reply to topic Reply with quote

When do you want the item to prize the player?

For an example bomb, I've attached the TacNuke's properties from Hyperspace:

Code: Show/Hide
+------------------+----------------+
| Property Name    | Property Value |
+------------------+----------------+
| bomblevel        | +3             |
| prox             | +1             |
| shrapnel         | +5             |
| bombdelay        | =400           |
| bombenergy       | =616           |
| maxmines         | =0             |
| minedelay        | =512           |
| mineenergy       | =667           |
| initialbounty    | -6             |
| shraplevel       | =3             |
+------------------+----------------+


The = means absolute property.

If you don't specify a property, it should use the settings default (e.g. maxmines).

Yes, the spawner pretty much ignores the maximum bomb and gun settings.

Yes, 255 will give access to all ships. 3 will give access to warbird and javelin. 12 will give access to spider and leviathan. 64 will give access to just lancaster.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
KrynetiX
Seasoned Helper


Gender:Gender:Male
Joined: Jan 06 2003
Posts: 137
Location: Poconos
Offline

PostPosted: Sat Dec 19, 2009 3:25 pm    Post subject: Reply to topic Reply with quote

I'd like to see the database settings for an item that prizes the player +1 gun level (override arena settings) and saves it to his ship. And database settings for an item that prizes the player 50 greens just one time.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Dec 20, 2009 11:04 am    Post subject: Reply to topic Reply with quote

I haven't tested these, but they should do what you want:

Code: Show/Hide

+----+-------------+-------------------+------------------+-----------+------------+--------------+---------------+-----+-------------+------+------------+----------+--------------+-------------+
| id | name        | short_description | long_description | buy_price | sell_price | exp_required | ships_allowed | max | delay_write | ammo | needs_ammo | min_ammo | affects_sets | resend_sets |
+----+-------------+-------------------+------------------+-----------+------------+--------------+---------------+-----+-------------+------+------------+----------+--------------+-------------+
|  1 | Pulse Laser | Basic armament    |                  |       500 |        250 |            0 |           255 |   1 |           0 |    0 |          0 |        0 |            1 |           1 |
|  2 | Prizer      | Prizes 500        |                  |       500 |        250 |            0 |           255 |   1 |           0 |    0 |          0 |        0 |            0 |           0 |
+----+-------------+-------------------+------------------+-----------+------------+--------------+---------------+-----+-------------+------+------------+----------+--------------+-------------+


Code: Show/Hide

+---------+---------------+-------+----------+--------------+----+
| item_id | name          | value | absolute | ignore_count | id |
+---------+---------------+-------+----------+--------------+----+
|       1 | gunlevel      |     1 |        0 |            0 |  1 |
+---------+---------------+-------+----------+--------------+----+


Code: Show/Hide

+---------+-------------+--------+------+-------------------------------------------------------------------------------------------+-----+
| item_id | event       | action | data | message                                                                                   | id  |
+---------+-------------+--------+------+-------------------------------------------------------------------------------------------+-----+
|       2 | add         |      1 |    1 |                                                                                           |   1 |
|       2 | add         |     13 |  500 |                                                                                           |   2 |
+---------+-------------+--------+------+-------------------------------------------------------------------------------------------+-----+


The 1,1 removes the item when it's added, and the 13,500 adds 500 bounty to the player.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
KrynetiX
Seasoned Helper


Gender:Gender:Male
Joined: Jan 06 2003
Posts: 137
Location: Poconos
Offline

PostPosted: Sun Dec 20, 2009 2:16 pm    Post subject: Reply to topic Reply with quote

The gun doesn't upgrade until a shipreset occurs.

And the bounty only prizes bounty, and none of the prizes that come with the bounty. I find that kind of strange.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Dec 20, 2009 4:04 pm    Post subject: Reply to topic Reply with quote

Did you enter the affects_sets and resend_sets on the gun item? Having those as 0 would prevent it from setting them immediately.

As for the prize, I'm not sure I ever added a random prize action (I never had a need for it). It's easy to tell it to give the person a specific prize. You could easily tell it to give someone 50 multiprizes, for example. If you've got your heart set on 500 random prizes, though, it could be added with a small amount of programming.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Sun Dec 20, 2009 4:05 pm    Post subject: Reply to topic Reply with quote

Could it be that your settings are configured so that you can't prize anything when picking up bounty? If so, then it would also affect regular prizing.

edit: ignore me, Dr Brain answered
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 668 page(s) served in previous 5 minutes.

phpBB Created this page in 0.450815 seconds : 50 queries executed (83.5%): GZIP compression disabled