Search found 53 matches

by dot
Mon Nov 19, 2018 5:23 pm
Forum: Coding, Scripting
Topic: Order of some callbacks
Replies: 2
Views: 317

Order of some callbacks

Order for some callbacks can be different from your assumption. For example if player connect in middle game then for this player called ModifyPlayer before PostLogin. If player connect before game start, then obviously ModifyPlayer called after PostLogin, because ModifyPlayer called on each respawn.
by dot
Fri Nov 16, 2018 10:07 pm
Forum: Tools and Programs
Topic: Dumpint
Replies: 1
Views: 307

Dumpint

Script for make .INT file from .U or .UTX (skins) file. In UT2004 present command for make .INT for exists .U file: https://wiki.beyondunreal.com/Legacy:DumpIntCommandlet In UT99 nothing similar I not found. So I create script for this. Script written in php. Usage: Unpack zip into UT root folder (n...
by dot
Wed Nov 07, 2018 4:52 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4266

Re: Drawn text on hud

In fact, I'm just too lazy to write a lot of code. And I do not like the need to write two additional methods just because I want to assign the font. I would prefer not to know about it at all, and that the canvas should not have a state that changes unpredictably. Strictly speaking, I want to displ...
by dot
Wed Nov 07, 2018 11:50 am
Forum: Mutators
Topic: Closest
Replies: 11
Views: 1089

Re: Closest

Fix linked list object names. Thanks to @Barbie. https://www.ut99.org/viewtopic.php?p=89236#p89236
Fix memory usage by reuse objects.
Fix Font cache.
Closest2.zip
(3.24 KiB) Downloaded 36 times
by dot
Wed Nov 07, 2018 11:16 am
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4266

Re: Drawn text on hud

https://wiki.beyondunreal.com/Legacy:UnrealScript_Language_Reference/Advanced_Technical_Issues Spawning and destroying actors are fairly expensive operations on the server side, and are even more expensive in network games, because spawns and destroys take up network bandwidth. Use them reasonably, ...
by dot
Wed Nov 07, 2018 8:33 am
Forum: Coding, Scripting
Topic: Server falls asleep after Game end
Replies: 17
Views: 3498

Re: Server falls asleep after Game end

1. Here console commands for explore memory: https://wiki.beyondunreal.com/Legacy:Console_Commands/Stats_Console_Commands_(UT) 2. Search over code and eliminate all keyword "new" if possible. Or make new (None) as you write in forum for linked list. Better reuse objects. I make small test - 10000 ne...
by dot
Tue Nov 06, 2018 10:33 pm
Forum: Tools and Programs
Topic: Fix UMake for two monitor usage
Replies: 17
Views: 1153

Re: Fix UMake for two monitor usage

I do not have any source code. Delphi resources can be edit inside compiled .exe file via programs like Resource Hacker or PE Explorer.
I only change poDesktopCenter to poScreenCenter for few forms.
by dot
Mon Nov 05, 2018 9:49 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4266

Re: Drawn text on hud

You make too many wrong assumptions. For this case it does not matter, or any difference what to use Actor or two variables. No need to build theories because I like variables in this particular case. Any option is acceptable. If further required, it can be replaced without serious consequences by A...
by dot
Mon Nov 05, 2018 6:20 pm
Forum: Mutators
Topic: Closest
Replies: 11
Views: 1089

Re: Closest

It is only idea. you can use it or not. And players also can load UnrealEd or switch to spectator mode for teamview for locate last monsters position. And many MH maps build not friendly for players which die. You need run from start. Even if you have shortcuts you not always get same collection for...
by dot
Mon Nov 05, 2018 6:00 pm
Forum: Tools and Programs
Topic: Fix UMake for two monitor usage
Replies: 17
Views: 1153

Re: Fix UMake for two monitor usage

~{kRiD}~ wrote:actually no, i have it in far left desktop window, never had a issue with it?
Because your desktop not have same height for all screens. Look like for this case Delphi calculate Desktop center as Screen center in your first screen.
I have dual screens with same height and original UMake have issue.
by dot
Mon Nov 05, 2018 5:53 pm
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4266

Re: Drawn text on hud

Solution with two variables is more easy, clear and light. Because new Actor need more memory and use more resources. And for it called tick method and so on. But if you need not one Font this can be not good solution rather reinvented wheel and make same code in your class. But for one Font it can ...
by dot
Mon Nov 05, 2018 11:35 am
Forum: Mutators
Topic: Closest
Replies: 11
Views: 1089

Re: Closest

Some MH map have 100 000 hp for monsters. And they fire for 1500 hp damage with one shot with big splash radius. It is not easy to kill. Some monsters small and run very fast. Sometimes ever puppae. Some monsters have good AI like UT bots (based on it). Some monsters can not be killed in one shoot o...
by dot
Mon Nov 05, 2018 11:28 am
Forum: Tools and Programs
Topic: Fix UMake for two monitor usage
Replies: 17
Views: 1153

Re: Fix UMake for two monitor usage

JackGriffin wrote:Your updated build no longer has this bug?
Yep.
~{kRiD}~ wrote:because i run 3 monitors
Then previously UMake must open only in center 2 monitor. Fixed version must open in center of the current screen.
by dot
Mon Nov 05, 2018 5:29 am
Forum: Tools and Programs
Topic: Fix UMake for two monitor usage
Replies: 17
Views: 1153

Fix UMake for two monitor usage

I use two monitors then I have two screens. UMake open on Desktop center, not Screen center. It is mean half window on one monitor, half on second. Very annoying, I fix it. Now UMake opened on Screen center. All other stay same. Info about this tool and original version, can be found here: http://mb...
by dot
Mon Nov 05, 2018 4:41 am
Forum: Coding, Scripting
Topic: Drawn text on hud
Replies: 20
Views: 4266

Re: Drawn text on hud

Then need save width of Canvas and if it changed get Font from scratch. Else use cache. This is from UT code. https://github.com/Slipyx/UT99/blob/a26a3359704873df5a24d0b241a32ca5fc36a8b7/Botpack/FontInfo.uc I do not think they do this without reason. And I do not think create new Font on every frame...