Code: Show/Hide fm_normal
game |
Code: Show/Hide game
freqman |
Code: Show/Hide #define RCT_NORECVANTI MAKE_CHUNK_TYPE(rNRA) #define RCT_NORECVWEPS MAKE_CHUNK_TYPE(rNRW) |
L.C. wrote: |
Win32 version, anyone? |
Quote: |
I <cmod> loading C module 'security' from 'security' E <cmod> error loading module 'security' Unrecoverable error (5): Error in loading module 'security:security' asss cannot start. error loading modules. |
Cheese wrote: |
also, why were *super, *ufo, and *mirror never implemented in ASSS? |
Cheese wrote: |
• why were *super, *ufo, and *mirror never implemented in ASSS? |
Cheese wrote: |
• im noticing a constant was added for fuschia, but was one added for grey? (33) |
Cheese wrote: |
• was ?moveto ever added to core cmds? |
Cheese wrote: |
• convert flag modules from py to C |
Grelminar wrote: |
*ufo, I tried a long time ago, but couldn't get it to work for some reason. If someone gives me working code for *ufo, I'll add it. |
Samapico wrote: |
I liked the idea of hax0ring the position packets to make other clients believe someone is cloaked even if he is firing |
Cheese wrote: |
This is an unmodified copy of Dr Brain's Win32 version, a fully working version, with all text file line endings converted from unix to windows.
I did it so noone else has to. |
Cheese wrote: |
post removed |
Cheese wrote: |
unrelated:
it seems most 1.4.4 modules are incompatible with 1.5, and need to be recompiled from source with 1.5 src to function properly, even with no code modification... |
Code: Show/Hide [Persist] SyncSeconds=300 |
Code: Show/Hide [Directory] SyncSeconds=300 |
Cheese wrote: |
why are the 'objects', 'watchdamage' and 'messages' modules not active by default?
why are they not even listed or at least just commented in modules.conf? |
Cheese wrote: |
what other internal modules are there that we dont know about?
|
Cheese wrote: |
is there a ?putconf that works like ?putmap? (so i dont have to trust my developers to use ?cd properly)
is the only way to put an arena.conf in a new arena folder to use ?cd and ?putfile? |
Cheese wrote: |
is there a way to limit group powers in an arena?
like to allow powers in all arenas except pub/default? |
Cheese wrote: |
what is prefix_+ (and others)?
how do they work? is there a suffix_+? |
Cheese wrote: | ||
in global.conf, you can add
to speed/slow the persist syncs, for the next release can we add a capacity for
so we can speed/slow the directory updates, so the values arent hardcoded? |
Cheese wrote: |
what does 'compressed map/lvz is bigger than 256k' mean, and why should i be concerned about it? (i thought each file could be 4mb? :S ) |
Dr Brain wrote: |
The fact that you can't get continuum to login with a name with those prefixes sort of limits its usefulness, though. |
Dr Brain wrote: |
Sure, just make some extra groups |
Dr Brain wrote: |
I always use ?putfile filename.txt:path/to/filename.txt myself |
Hakaku wrote: |
What's the purpose of a periodic message if it's not periodically displayed? |
Cheese wrote: |
also, could the delay/interval be in seconds instead of minutes?
it allows more precision in the delivery of messages |
Cheese wrote: |
You could then use this as an extended greet message, to display extended rules or w/e. |
Samapico wrote: |
Wouldn't that be a greet message? |
Samapico wrote: |
Go AFK for 15 minutes and your screen is spammed with green crap. How fun.
Anything shorter than 10 minutes is just annoying as hell. |
L.C. wrote: |
[..]
Why not just up it to hours from minutes? I think anything less than an hour is SPAM. Down with "minutes" unit. |
Mine GO BOOM wrote: |
I've been running zones a very long time, and I realize the need for microsecond accuracy with periodic messages. If my message isn't repeated every 32 minutes, 15 seconds, and 823 microseconds, I will be insanely pissed.
Also, I like the color blue, so we should go with that. |
Quote: |
Time is part of the measuring system used to sequence events, to compare the durations of events and the intervals between them, and to quantify the motions of objects. Time has been a major subject of religion, philosophy, and science, but defining it in a non-controversial manner applicable to all fields of study has consistently eluded the greatest scholars.
Time is one of the seven fundamental physical quantities in the International System of Units. Time is used to define other quantities ? such as velocity ? so defining time in terms of such quantities would result in circularity of definition.[1] An operational definition of time, wherein one says that observing a certain number of repetitions of one or another standard cyclical event (such as the passage of a free-swinging pendulum) constitutes one standard unit such as the second, is highly useful in the conduct of both advanced experiments and everyday affairs of life. The operational definition leaves aside the question whether there is something called time, apart from the counting activity just mentioned, that flows and that can be measured. Investigations of a single continuum called spacetime bring questions about space into questions about time, questions that have their roots in the works of early students of natural philosophy. Among prominent philosophers, there are two distinct viewpoints on time. One view is that time is part of the fundamental structure of the universe, a dimension in which events occur in sequence. Time travel, in this view, becomes a possibility as other "times" persist like frames of a film strip, spread out across the time line. Sir Isaac Newton subscribed to this realist view, and hence it is sometimes referred to as Newtonian time.[2][3] The opposing view is that time does not refer to any kind of "container" that events and objects "move through", nor to any entity that "flows", but that it is instead part of a fundamental intellectual structure (together with space and number) within which humans sequence and compare events. This second view, in the tradition of Gottfried Leibniz[4] and Immanuel Kant,[5][6] holds that time is neither an event nor a thing, and thus is not itself measurable nor can it be travelled. Temporal measurement has occupied scientists and technologists, and was a prime motivation in navigation and astronomy. Periodic events and periodic motion have long served as standards for units of time. Examples include the apparent motion of the sun across the sky, the phases of the moon, the swing of a pendulum, and the beat of a heart. Currently, the international unit of time, the second, is defined in terms of radiation emitted by caesium atoms (see below). Time is also of significant social importance, having economic value ("time is money") as well as personal value, due to an awareness of the limited time in each day and in human life spans. |
Quote: |
The second (SI symbol: s), sometimes abbreviated sec., is the name of a unit of time, and is the International System of Units (SI) base unit of time. It may be measured using a clock.
Early definitions of the second were based on the motion of the earth: 24 hours in a day meant that the second could be defined as 1⁄86 400 of the average time required for the earth to complete one rotation about its axis. However, nineteenth- and twentieth-century astronomical observations revealed that this average time is lengthening, and thus the motion of the earth is no longer considered a suitable standard for definition. With the advent of atomic clocks, it became feasible to define the second based on fundamental properties of nature. Since 1967, the second has been defined to be the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom.[1] SI prefixes are frequently combined with the word second to denote subdivisions of the second, e.g., the millisecond (one thousandth of a second), the microsecond (one millionth of a second), and the nanosecond (one billionth of a second). Though SI prefixes may also be used to form multiples of the second such as kilosecond (one thousand seconds), such units are rarely used in practice. The more common larger non-SI units of time are not formed by powers of ten; instead, the second is multiplied by 60 to form a minute, which is multiplied by 60 to form an hour, which is multiplied by 24 to form a day. The second was also the base unit of time in the centimetre-gram-second, metre-kilogram-second, metre-tonne-second, and foot-pound-second systems of units. |
Quote: |
ASSS: Nothing is impossible. |
Quote: |
"ASSS: Nothing is impossible." "its hard to learn to write this stuff" |
Samapico wrote: |
How many seconds lasts a year?
See, seconds aren't always relevant Lots of things are specified in minutes... Autosaves in programs, afk delay in Live Messenger, etc... Also: |
Cheese wrote: |
meaning i need to add an entry in staff.conf for EVERY SINGLE ARENA IN THE ZONE? D:
isnt there some way we can add a "-arena:group" to DISABLE perms? |
Dr Brain wrote: |
You need to give them one group zone wide, and a different group in that arena (e.g. default) |
Quote: |
if Person is in GroupA in [(global)] and GroupB in [(default)] they are still in GroupA
However, if they are in [place] as GroupC, it will work. |
Quote: |
also interestingly, me as a higher_than_sysop can not ?kick a mod?
'You don't have permission to use ?kick on that player.' |
Code: Show/Hide ;staff.conf: [(global)] Cheese! = a [(public)] Cheese! = b [(default)] Cheese! = c [cz] Cheese! = d |
Code: Show/Hide ;from chat: ;Cheese!> ?go Cheese!> ?listmod : Cheese! 0 b ;Cheese!> ?go asdf (default) Cheese!> ?listmod : Cheese! asdf a ;Cheese!> ?go wtf (existing) Cheese!> ?listmod : Cheese! wtf a ;Cheese!> ?go cz (specified) Cheese!> ?listmod : Cheese! cz d |
Dr Brain wrote: |
When I said submit a patch, I meant one that doesn't divide by zero. Also, it has to be backwards compatible, which yours is not. |
Samapico wrote: |
The main problem, as stated before, is the complete lost of backward compatibility. Though ASSS could probably understand fractions of minutes without loss of compatibility... But again, it's not a priority.
The syntax/capitalization thing in ?lag, ?usage and other such commands , were fixed I think. I honestly have no idea, but I think these were one the first things suggested when ASSS 1.5 was first discussed, so I assume they are fixed |
Code: Show/Hide if (!strstr(params, "-v"))
{ chat->SendMessage(p, "%s: avg ping: %d ploss: s2c: %.2f c2s: %.2f", prefix, avg, 100.0*ploss.s2c, 100.0*ploss.c2s); } else { struct ReliableLagData rlag; ticks_t tm = TICK_DIFF(current_ticks(), t->connecttime); lagq->QueryRelLag(t, &rlag); chat->SendMessage(p, "%s: s2c ping: %d %d (%d-%d) (reported by client)", prefix, cping.cur, cping.avg, cping.min, cping.max); chat->SendMessage(p, "%s: c2s ping: %d %d (%d-%d) (from position pkt times)", prefix, pping.cur, pping.avg, pping.min, pping.max); chat->SendMessage(p, "%s: rel ping: %d %d (%d-%d) (reliable ping)", prefix, rping.cur, rping.avg, rping.min, rping.max); chat->SendMessage(p, "%s: effective ping: %d (average of above)", prefix, avg); chat->SendMessage(p, "%s: ploss: s2c: %.2f c2s: %.2f s2cwpn: %.2f", prefix, 100.0*ploss.s2c, 100.0*ploss.c2s, 100.0*ploss.s2cwpn); chat->SendMessage(p, "%s: reliable dups: %.2f%% reliable resends: %.2f%%", prefix, 100.0*(double)rlag.reldups/(double)rlag.c2sn, 100.0*(double)rlag.retries/(double)rlag.s2cn); chat->SendMessage(p, "%s: s2c slow: %d/%d s2c fast: %d/%d", prefix, cping.s2cslowcurrent, cping.s2cslowtotal, cping.s2cfastcurrent, cping.s2cfasttotal); do_common_bw_stuff(p, t, tm, prefix, FALSE); } |
Code: Show/Hide local void Csg_info(const char *tc, const char *params, Player *p, const Target *target)
{ struct PingSummary pping, cping, rping; struct PLossSummary ploss; struct net_client_stats stats; ticks_t tm; Player *t = target->type == T_PLAYER ? target->u.p : p; tm = TICK_DIFF(current_ticks(), t->connecttime); if (IS_STANDARD(t)) net->GetClientStats(t, &stats); else memset(&stats, 0, sizeof(stats)); lagq->QueryPPing(t, &pping); lagq->QueryCPing(t, &cping); lagq->QueryRPing(t, &rping); lagq->QueryPLoss(t, &ploss); chat->SendMessage(p, "IP:%s TimeZoneBias:%d Freq:%d TypedName:%s Demo:0 MachineId:%d", t->ipaddr, /* FIXME: get tz */ 0, t->p_freq, /* FIXME: make this _typed_ name */ t->name, t->macid); chat->SendMessage(p, "Ping:%dms LowPing:%dms HighPing:%dms AvePing:%dms", AVG_PING(cur), AVG_PING(min), AVG_PING(max), AVG_PING(avg)); chat->SendMessage(p, "LOSS: S2C:%.1f%% C2S:%.1f%% S2CWeapons:%.1f%% S2C_RelOut:%d(%d)", 100.0*ploss.s2c, 100.0*ploss.c2s, 100.0*ploss.s2cwpn, /* FIXME: get this data: unacked rels, s2c seqnum */ 0, 0); chat->SendMessage(p, "S2C:%d-->%d C2S:%d-->%d", 0, 0, 0, 0); chat->SendMessage(p, "C2S CURRENT: Slow:%d Fast:%d %.1f%% TOTAL: Slow:%d Fast:%d %.1f%%", 0, 0, 0.0, 0, 0, 0.0); chat->SendMessage(p, "S2C CURRENT: Slow:%d Fast:%d %.1f%% TOTAL: Slow:%d Fast:%d %.1f%%", cping.s2cslowcurrent, cping.s2cfastcurrent, 0.0, cping.s2cslowtotal, cping.s2cfasttotal, 0.0); chat->SendMessage(p, "TIME: Session:%5d:%02d:%02d Total:%5d:%02d:%02d Created: %d-%d-%d %02d:%02d:%02d", tm / 3600, (tm / 60) % 60, tm % 60, /* FIXME: get this data */ 0, 0, 0, 0, 0, 0, 0, 0, 0); chat->SendMessage(p, "Bytes/Sec:%u LowBandwidth:%d MessageLogging:%d ConnectType:%s", tm ? stats.bytesent / tm : 0, 0, 0, "Unknown"); } |
Cheese wrote: |
did you know that the code for ?door, which ASSS has not had for YEARS, was literally 4 lines long?
I wrote more text for the helptext than i did for the actual implementation. successfully tested. its really only a wrapper anyways, if anyone wants the code, pm me ingame... also, i revamped the hell out of smongs moveto command (ex: can now force speeds/rotations on target), and will be releasing it shortly with my secret project (will revolutionize asss zones), along with other shiny objects (like ?door). |
Dr Brain wrote: |
Most people don't want their test zones to become public, so having the directory server commented out is reasonable.
On the other hand, there probably should be a note of that fact in the supplied global.conf. |
Samapico wrote: |
Is there an example about using advisers somewhere? |
Code: Show/Hide [Periodic] RewardDelay=2000 RewardMinimumPlayers=1 RewardPoints=1000 |
Code: Show/Hide [Soccer] MinTeams=1 |
fatrolls wrote: |
Why do I receive
Reward: 0 points I know the points are based on how much flags your team has but why even send 0's if you have no flags? Any way to fix this in the settings or is this a ASSS thing? |