Server Help

General Questions - the shrap mystery

roof_tiles - Sat Mar 22, 2003 10:22 am
Post subject: the shrap mystery
upon arrival in dark territory we manufactures the new leviathan heavy bomber

apparently acording to technical specs the bombs were able to have 32 shrapnel, a new meaning to the phrase..

"boom-fizz-kapow-boom-boom-boom"

we could not use virtual data on the battlefield, as first test were simulated on my win98 supercomputer

we needed actual battle data to confirm functionality..so i volunteered to pilot the beast of a craft

upon buying shrap...i was given a full charge instead..i thought it was a malfunction..so i spent another 10k buting more shrap..i continued to be given full charge

the situation was not good...i started to panick...the craft status told me my shrap was 0...i was being given full charge..and not the shrap i wasted my cash on

now...we need to find out..who...and..why...and..what
we need intelligence data on what we call "the shrapnel mystery"

SSRT needs you.
to solve..the mystery....

----------
BASICALLY!...
when i type ?buy shrap it gives me full charge instead
YES shrap is available to buy
YES the ship is allowed shrap(32 max)
so WHY....any ideas?
Smong - Sat Mar 22, 2003 12:13 pm
Post subject:
I think theres something called shraprate which is how much shrap you get for each green/purchase. If this is 0 that is your problem.
roof_tiles - Sat Mar 22, 2003 12:15 pm
Post subject: nah
its set to 4 so cant be that :/
roof_tiles - Sat Mar 22, 2003 12:15 pm
Post subject: heh
real d00jy i tell ya. its weird...
Mine GO BOOM - Sat Mar 22, 2003 1:40 pm
Post subject:
Since only 5 bits are supported for the shrapnel in the packets, you are limited to 31 sharpnel (5 bits = 32 numbers, 0 being one of them). Try knocking down your max shrapnel to 31 and you'll be fine.
SuSE - Sat Mar 22, 2003 7:48 pm
Post subject:
fyi - making public lists of what ships can buy what (instead of wasting points on full charges) is good icon_smile.gif
roof_tiles - Sun Mar 23, 2003 2:34 am
Post subject:
hey..mine go boom..thats was the problem, your 31 bit..whatever you said biggrin.gif

anyway, workz now

and yer akai, thanx 4 suggestion..it is kinda nnoyin when u go in a zone to buy nuclear arena destroying thor with 5000 prox..for like 10 mill, then u find out your ship isnt allowed thor :/

ive done that a few times...real d00jy i tell ya.
biggrin.gif
SuSE - Sun Mar 23, 2003 3:28 am
Post subject:
yeah...stupid zones...
roof_tiles - Sun Mar 23, 2003 4:32 am
Post subject:
in fact..ships that arent allowed thor for example, it shouldnt nick your points when u goto buy it...either that or have the game send u a message saying "you are not allowed thor" or "your maxthor is 0" or something..somethingsomething..like...that

would be good.
Doggeti - Wed Mar 26, 2003 2:33 am
Post subject:
Mine, you should use more bits. Just imagine how it would be with 255 shraps (1 byte) biggrin.gif
Mine GO BOOM - Wed Mar 26, 2003 9:44 am
Post subject:
Have you ever seen bombs with 31 shrapnel in a normal zone? Nope, they are all in super zones. Most zones end shrapnel after maybe 16 at most. So JeffP was good in keeping the bits down on the packets. Anyways, requires a change on priitk's side more than server.
Gravitron - Wed Mar 26, 2003 11:04 am
Post subject:
Yap, unless you're a paranoid of cheating like priitk, confirming the ability to buy an item or not should be client side and not server.
Still, a 31 shrap l3 levi in a SVS warzone would be coolest.
SOS - Wed Mar 26, 2003 2:13 pm
Post subject:
Umm wha? Server-side confirming is much more secure from cheaters... wth are you on?
Dr Brain - Wed Mar 26, 2003 3:24 pm
Post subject:
And, server side is better for adding new things to the ?buy menu.
Gravitron - Wed Mar 26, 2003 5:05 pm
Post subject:
SOS, please reread and try to comprehend whatyou are reading, this time.
By the way, keep the insults to the TT.

Brain, naturally with this game's engine if you wish to have anything added you will need to code it server side, but, this lousy model screw you again as it forces you to add complemantory coding to support the item's action from the client's side.
Such is the problem with softwares which functions are hardcoded instead of being module based, the client and server must complete each other parralely all the way or glitches occurs and that turns customization onto a hard labor.
Dr Brain - Wed Mar 26, 2003 6:08 pm
Post subject:
You sure the buy code is also in the client? I would think it would be much more efficient to put it in the server. I will have to look through the asss code and see.
Gravitron - Wed Mar 26, 2003 6:13 pm
Post subject:
As far as SS goes, yeah, since it's all hard coded the client must have some sort of code that responds and completes the one on the server.
In a more general view point, dunno about continuum client, but back at the day when SubSpace was made computers were pretty "weak" to handle masses of data and most functions needed to be performed fast and only being validated with the server later (like repel) so much of the burden was layed on the client.
Nowdays we can "afford" to have almost everything done server side for security reasons as long as it does not cost in the lag-handling mechanisems efficiency.
Dr Brain - Wed Mar 26, 2003 6:35 pm
Post subject:
No, i mean the the buy command makes no sense to be present in the client. Lag is not an issue with it either. Nor processing power.
Gravitron - Wed Mar 26, 2003 10:04 pm
Post subject:
Well, buy itself is server side, but there's complementary code on the client.
Buy works somewhat like mod powers.
On one side it is basically the server accessing the mod prizing routine and deducting pts from the biller.
One the other side the client does send a telemetry about what to prize and such, and handles the recived back data like with mod commands and takes a course of action appropriately.
Dr Brain - Wed Mar 26, 2003 11:18 pm
Post subject:
That bites. I was hoping to add my own buy stuff to ?buy. Well, it still my be possible; I will look it up sometime.
Mine GO BOOM - Thu Mar 27, 2003 12:01 am
Post subject:
You can do ?buy for anything you want. ?buy is just a text command, so if you want to do ?buy flag, and have server give you a flag, you can. Pretty simple to do in ASSS.
Gravitron - Thu Mar 27, 2003 4:01 am
Post subject:
Well in ASSS...
In SS, if buy does work on the prize routine, no you cannot.
You will need a different routine to be given for flags since it is a different object than the green prizes (you can't prize flags, unless I'm mistaken).
But I was under the impression we do not discuss about the existing content, but of new items and such.
roof_tiles - Thu Mar 27, 2003 2:23 pm
Post subject: go shrappys!
it amazing what a thread about shrapnel can turn into int it? icon_smile.gif
Gravitron - Thu Mar 27, 2003 5:01 pm
Post subject:
Yeah, I'm contemplating if to split the topic or not.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group