User:Qaisjp: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Ccw moved page User:Qais to User:Qaisjp: Automatically moved page while renaming the user "Qais" to "Qaisjp")
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
I've been here since October 2010... ah the good times.
{{MTA Developer}}
You can find me at quite a few places...
 
You can find me in quite a few places...
* Skype, Twitter, IRC, pretty much everything: qaisjp
* Skype, Twitter, IRC, pretty much everything: qaisjp
* [http://github.com/qaisjp/ GitHub]
* [http://github.com/qaisjp/ GitHub]
Line 6: Line 7:
I maintain [[hedit]], contribute to Blue, and have been a contributor to many servers.
I maintain [[hedit]], contribute to Blue, and have been a contributor to many servers.


You'll find me on #mta on GTANet.
You'll find me on #mta on GTANet. I'm on Discord as well. Happy to chat!


== mtasa-blue ==
== mtasa-blue ==
Line 14: Line 15:
=== [https://bugs.mtasa.com/view.php?id=8985 issue 0008985 setCameraFOV aiming] ===
=== [https://bugs.mtasa.com/view.php?id=8985 issue 0008985 setCameraFOV aiming] ===
[https://github.com/Whitetigerswt/samp-fov-changer/blob/master/fov/dllmain.cpp#L166 reference for aiming]
[https://github.com/Whitetigerswt/samp-fov-changer/blob/master/fov/dllmain.cpp#L166 reference for aiming]
=== wiki dump ===
http://www.httrack.com/html/httrack.man.html
<pre>
httrack "http://wiki.localhost/wiki/Main_Page" "+http://wiki.localhost/images/*" "+http://wiki.localhost/extensions/*" "+http://wiki.localhost/resources/*" -c3 -%c0 -%v2 -A0 -#L30000000 -s0 -%k -%F '' --disable-security-limits
</pre>
<pre>
:thinking:
HTTrack Website Copier/3.48-20 mirror complete in 23 minutes 17 seconds : 30975 links scanned, 22989 files written (606020297 bytes overall) [394444732 bytes received at 282351 bytes/sec], 509114662 bytes transferred using HTTP compression in 25278 files, ratio 28%, 95.5 requests per connection
</pre>
other options: [https://www.kiwix.org/en/ kiwix]: https://meta.wikimedia.org/wiki/Kiwix / https://en.wikipedia.org/wiki/Kiwix
MORE STUFF HERE https://www.mediawiki.org/wiki/Category:Import/Export
=== macOS ===
==== breakpad ====
https://archive.fo/DJvyQ
==== ncurses ====
<pre>
ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have ncurses first in your PATH run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc
For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"
For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
</pre>
==== Link warning ====
<pre>
==== Building Core (debug_x64) ====
Linking Core
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
</pre>
See https://github.com/golang/go/issues/26073#issuecomment-410142472
I had to do the rm -rf thing after updating xcode. Fix works after doing reboot and doing a clean build.
=== Lua Test Suite ===
https://github.com/4O4/mtasa-lua-tests
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops


=== other stuff ===
=== other stuff ===
Line 47: Line 107:
Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)
Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)


== mta ide using [//atom.io atom] ==
= sandbox =
=== ideas ===
* hook into server (remote or local) to allow features like restart-resource on: focus loss/save
* blue/red/orange colors for shared/server/client functions
* Lua 5.1 syntax highlighting
* linting
* inline wiki-ing


== oop ==
[[Beta Features|BETA]]
* finish oop documentation
* do some tables
* do colour class
* learn LuaVM

Latest revision as of 10:11, 30 March 2020

Coder.gif This user is an MTA developer

You can find me in quite a few places...

  • Skype, Twitter, IRC, pretty much everything: qaisjp
  • GitHub

I maintain hedit, contribute to Blue, and have been a contributor to many servers.

You'll find me on #mta on GTANet. I'm on Discord as well. Happy to chat!

mtasa-blue

issue 8714 Vehicle door/component desync on vehicle stream-in/out

reference for network stuff

issue 0008985 setCameraFOV aiming

reference for aiming


wiki dump

http://www.httrack.com/html/httrack.man.html

httrack "http://wiki.localhost/wiki/Main_Page" "+http://wiki.localhost/images/*" "+http://wiki.localhost/extensions/*" "+http://wiki.localhost/resources/*" -c3 -%c0 -%v2 -A0 -#L30000000 -s0 -%k -%F '' --disable-security-limits
:thinking:
HTTrack Website Copier/3.48-20 mirror complete in 23 minutes 17 seconds : 30975 links scanned, 22989 files written (606020297 bytes overall) [394444732 bytes received at 282351 bytes/sec], 509114662 bytes transferred using HTTP compression in 25278 files, ratio 28%, 95.5 requests per connection

other options: kiwix: https://meta.wikimedia.org/wiki/Kiwix / https://en.wikipedia.org/wiki/Kiwix

MORE STUFF HERE https://www.mediawiki.org/wiki/Category:Import/Export

macOS

breakpad

https://archive.fo/DJvyQ

ncurses

ncurses is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have ncurses first in your PATH run:
  echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc

For compilers to find ncurses you may need to set:
  export LDFLAGS="-L/usr/local/opt/ncurses/lib"
  export CPPFLAGS="-I/usr/local/opt/ncurses/include"

For pkg-config to find ncurses you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"


Link warning

==== Building Core (debug_x64) ====
Linking Core
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.

See https://github.com/golang/go/issues/26073#issuecomment-410142472

I had to do the rm -rf thing after updating xcode. Fix works after doing reboot and doing a clean build.

Lua Test Suite

https://github.com/4O4/mtasa-lua-tests

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops

other stuff

hedit 3.0

The resource has an internal API and the GUI works independently of it. The log syncing and response sending is handled by the the internal API on the client side and the gui core uses this API to apply this to the UI.

The gui core does not handle the showing/hiding of the GUI, it works through a public API

Folders

client/*

  • sync/: Has an internal API that handles the sync, access locks and log streaming
  • gui/: Has a public API that manages the rendering and the application to access lock.
  • play/: This uses the public API to provide the default capabilities expected of hedit. It injects several things for usability into the GUI.

server/*

stuff

resources -> container
  • many instances of containers can be created
  • containers are managed by the resource "plug-in and play" code

Containers

Containers have:

  • x button (injected by plugin and play)
  • titlebar
  • pane selector
  • pane

Log windows

Log windows are managed by the plug-in and play code, many can exist at once due to the modular code but this feature will never be used. Log windows use the developer log api. (Log windows just utilise the log api to show it to ht euser)

sandbox

BETA