Search found 97 matches
- Mon Aug 15, 2011 11:38 am
- Forum: General Discussion
- Topic: How do you get your shard listed?
- Replies: 4
- Views: 3521
Re: How do you get your shard listed?
1. Its in the center of the bottom row. Says "ZuluHotel Reborn" and links to our site. However the description is not quite correct and the shard goes by different name for over a decade by now. 2. I manage the technical side (the site and the server) for several years, so I would be the r...
- Mon Aug 15, 2011 11:12 am
- Forum: General Discussion
- Topic: How do you get your shard listed?
- Replies: 4
- Views: 3521
How do you get your shard listed?
There is an entry at http://www.polserver.com/shards.php which links to our web address, but the description has nothing to do with what we are running. Is there any way to make corrections and who is the right person to contact to?
Thank you.
Thank you.
- Sun Aug 14, 2011 5:29 am
- Forum: Scripting Help
- Topic: Is it safe to use leading underscore in var/func naming?
- Replies: 4
- Views: 4130
Is it safe to use leading underscore in var/func naming?
Pretty much the subj. Is it safe to use leading underscores in function naming and could it possibly have any collisions with pol internals?
I have a number of functions starting with _p_ to indicate its private and some of those display a rather odd behavior.
Could the naming be the case?
Thank you.
I have a number of functions starting with _p_ to indicate its private and some of those display a rather odd behavior.
Could the naming be the case?
Thank you.
- Thu Mar 24, 2011 7:55 pm
- Forum: POL Tools
- Topic: PolSQL99 (Another MySQL Wrapper)
- Replies: 4
- Views: 9102
PolSQL99 (Another MySQL Wrapper)
Since my last code was jammed by the forum and my sources didn't survive a hdd crash I decided to write another POL->MySQL wrapper. Written in Python (src included), packaged for Windows XP/Vista/7 (doesn't require python installed). Currently only supports plain queries (no object serialization, or...
- Sun Mar 06, 2011 11:50 am
- Forum: Current stable release (099)
- Topic: Can't resolve random crashes.
- Replies: 7
- Views: 5737
Re: Can't resolve random crashes.
That might help in a meantime, thank you.
Do you think enabling low fragmentation heap might elevate the issue?
Do you think enabling low fragmentation heap might elevate the issue?
- Sat Mar 05, 2011 12:04 pm
- Forum: Current stable release (099)
- Topic: Can't resolve random crashes.
- Replies: 7
- Views: 5737
Re: Can't resolve random crashes.
All I am getting nowadays is: Failed to create worker thread for Client#2033 (errno = 12) Assertion Failed: locker == 0, .\polsem.cpp, line 27 Forcing stack backtrace. Failed to save dump file to 'POL099beta-2010-01-02-20110305020510-0.dmp' (error -2147024865)Last Script: pkg/skills/lumberjacking/lu...
- Tue Mar 01, 2011 2:44 am
- Forum: Current stable release (099)
- Topic: Can't resolve random crashes.
- Replies: 7
- Views: 5737
Re: Can't resolve random crashes.
Most of the crashes go with the unhandled exception, but some of those with the assertion failure. The last script usually is a random script. //-- Failed to create worker thread for Client#4904 (errno = 12) Assertion Failed: locker == 0, .\polsem.cpp, line 27 Forcing stack backtrace. Failed to save...
- Mon Feb 28, 2011 4:00 am
- Forum: Current stable release (099)
- Topic: Can't resolve random crashes.
- Replies: 7
- Views: 5737
Can't resolve random crashes.
Hello everyone, Our system expirincing server crashes at random. The regular routine to deal with the matter is to fallback to the scripts where they didn't and redevelop the innovations from scratch, totally removing the crashing scripts. Does anyone actually know if its possible to trace the actua...
- Sat Feb 19, 2011 11:44 pm
- Forum: Current stable release (099)
- Topic: system load wirdness
- Replies: 11
- Views: 7654
Re: system load wirdness
I did the command before killing npc scripts to gather the data while sysload is high.CWO wrote:Did you do the command before or after you killed the NPC? If it was after, the command cleared all of that info before generating the info it gave to you.
- Sat Feb 19, 2011 1:50 pm
- Forum: Current stable release (099)
- Topic: system load wirdness
- Replies: 11
- Views: 7654
Re: system load wirdness
Thanks you, Thats the excellent approach to try. I suspect it to be the npc, because when I killed all the npc scripts the load went back to 5%. But the actual script doesn't show in the stat, so I think it might be not the instruction counter, but some other thing like error generation or a high nu...
- Sat Feb 19, 2011 6:45 am
- Forum: Current stable release (099)
- Topic: system load wirdness
- Replies: 11
- Views: 7654
system load wirdness
Hello everyone, I wonder if there is a definate way to know the reason of a certain system load. We usually have a modest system loads, approx. 10-15% evening times. But sometimes it jumps 100% and stays that way until the server is restarted. The wierdness is that there is no gradual growth, it eit...
- Wed Feb 16, 2011 1:35 am
- Forum: Current stable release (099)
- Topic: The combat pseudo-code isn't? [resolved]
- Replies: 7
- Views: 6336
Re: The combat pseudo-code isn't?
Thanks a lot Turley , This code gives values identical to the core: function CalcBaseDamage( who ) var weapon := who.weapon; // just in case if( not weapon ) return 1; endif //or in escript: var descriptor := GetItemDescriptor(weapon.objtype); var random_weapon_die_damage := CInt(RandomDiceRoll( des...
- Tue Feb 15, 2011 11:59 pm
- Forum: Current stable release (099)
- Topic: The combat pseudo-code isn't? [resolved]
- Replies: 7
- Views: 6336
Re: The combat pseudo-code isn't?
Thanks a lot, It does look like a pseudo-code you provided, though I didn't dig deep enough. maybe the weapon damage formula is different. What I did was: var weapon_damage := (RandomDiceRoll( weapon_cfg_elem[weapon.objtype].Damage ) + weapon.dmg_mod) * weapon.quality; // and then the rest of the da...
- Tue Feb 15, 2011 6:22 am
- Forum: Current stable release (099)
- Topic: The combat pseudo-code isn't? [resolved]
- Replies: 7
- Views: 6336
Re: The combat pseudo-code isn't?
I practically implemented it line by line. I would be much obliged if you could post the actual pol source snippet there. Perhaps then I could just translate it directly to eScript.
- Mon Feb 14, 2011 8:54 pm
- Forum: Current stable release (099)
- Topic: The combat pseudo-code isn't? [resolved]
- Replies: 7
- Views: 6336
The combat pseudo-code isn't? [resolved]
Hello everyone. I have implemented the core pseudocode damage calculation (found in doc99), and the basedamage supplied by the core, doesn't match the damage produced by the custom function (its like 25% lower). I didn't do the attack hook, I just wanted to produce my own damage calculation for the ...
- Sun Feb 13, 2011 7:25 am
- Forum: Current stable release (099)
- Topic: "caching" of values
- Replies: 5
- Views: 3830
Re: "caching" of values
Oh, thank you both of you. I think datafile would be my choice. I didn't know they aren't saved. The cprops were always a black box for me, so I was very cautious to use those.
- Wed Feb 09, 2011 6:07 pm
- Forum: Current stable release (099)
- Topic: "caching" of values
- Replies: 5
- Views: 3830
Re: "caching" of values
Thanks a lot for your reply. The example snippet could be: // Get spell id by the name spell_name function GetSpellId( spell_name ) spell_name := Trim( lower( spell_name ) ); var spell_id := GetGlobalProperty( "spell_id_by_name_"+spell_name ); if( not spell_id ) // do the extensive lookup ...
- Sat Feb 05, 2011 9:54 am
- Forum: Current stable release (099)
- Topic: "caching" of values
- Replies: 5
- Views: 3830
"caching" of values
Hello everyone, As the majority of the shard scripters I store frequently accessed values which would otherwise require a massive computation or many iterations to lookup. But I noticed that many data structures degrade their performance over the number of entries. I wonder if a POL Developer or som...
- Wed Jan 12, 2011 3:48 am
- Forum: General Help (098)
- Topic: Info on how you fixed Spellbook when UOFeatureEnable=0x20
- Replies: 2
- Views: 4018
Re: Info on how you fixed Spellbook when UOFeatureEnable=0x2
But you could try UOFeatureEnable=0x0 and set_uo_expansion("T2A") to every client (even for AoS clients). I tested above with both 98 and 99 cores. Also make sure you are not accidentally modifying any spellbook packets via hooks as I see you have a lot of hooks. PS: Sadly none is especial...
- Wed Jan 12, 2011 3:36 am
- Forum: Current stable release (099)
- Topic: function pointers/references
- Replies: 15
- Views: 8739
Re: function pointers/references
Thank you. Thats what I wanted to know.Turley wrote:I understand you both, ok not the way you discuss
function pointer is an interresting idea, but nothing simple. So maybe someday someone codes it
- Tue Jan 11, 2011 2:35 am
- Forum: Current stable release (099)
- Topic: function pointers/references
- Replies: 15
- Views: 8739
Re: function pointers/references
Thank you for your reply,
could you elaborate on the topic please? I am really interested on the developers opinion.
could you elaborate on the topic please? I am really interested on the developers opinion.
- Mon Jan 10, 2011 11:18 pm
- Forum: Current stable release (099)
- Topic: function pointers/references
- Replies: 15
- Views: 8739
Re: function pointers/references
Shell-scripts and escript should not be compared because they have a non-overlapping areas of application. I hardly see any relevance. The suggestion to program the core doesn't make any sense: Whenever the new core is out my changes are lost. Comes with no containers or lists but low level data str...
- Mon Jan 10, 2011 6:33 am
- Forum: Current stable release (099)
- Topic: function pointers/references
- Replies: 15
- Views: 8739
Re: function pointers/references
Phao, I didn't say I can not progress without functional programming or OOP but merely saying these would help a lot. I am well aware of the implications of adding a new feature such as FP. All I wanted is to hear developer's comments about the feasibility of the proposition based on the fact they m...
- Mon Jan 10, 2011 12:31 am
- Forum: Current stable release (099)
- Topic: function pointers/references
- Replies: 15
- Views: 8739
Re: function pointers/references
I think you're making the mistake a friend of mine is doing. First, your friend is not making a mistake. he is just a more experienced coder. Having a general approach to a problem is one of the toughest and desirable traits for a CS person. My experience tells me that code duplication is the utter...
- Thu Jan 06, 2011 10:54 pm
- Forum: Current stable release (099)
- Topic: function pointers/references
- Replies: 15
- Views: 8739
Re: function pointers/references
Thank you for the interest in the topic. Passing variable by reference is not exactly what I meant by having function pointers introduced. Here what I meant, take a simple example: function Area( length, width ) return legth * width; endfunction program test( ) var functionPointer := Area; print( fu...