Commit graph

230 commits

Author SHA1 Message Date
Kevin Eady
1b25a7cf45 Update core-changes 2020-01-20 12:04:30 +01:00
GIB
396e673c36 Remove commented out old returns.
Updated docs to reflect correct return values.
2020-01-18 20:47:10 +08:00
Kevin Eady
0b2da542a5 Modify docs 2020-01-12 20:51:05 +01:00
turleypol
c42e714524 updated docs 2020-01-04 21:25:31 +01:00
Jonathan Morland-Barrett
e66eac2b71
AddAmount returns ItemRef on success. (#114)
**BREAKING CHANGE**
Whilst the break may be minor for some its still worth checking if you evaluate the response from AddAmount anywhere in your scripts.
If you compare it to 1 (int) you need to update this as the function no longer returns an integer on success.
* Update AddAmount() function from uo.em to return the original itemref on a successful addition of amount.
2020-01-04 19:51:28 +08:00
Kevin Eady
26601f97f2 Add dummy packet handler for 0xFA and 0xFB 2019-12-29 11:42:03 +01:00
turleypol
e6edceef65 cleanup of debug prints 2019-12-28 17:56:32 +01:00
turleypol
4bd8c31a3c removed introduced tabs 2019-12-15 11:53:09 +01:00
turleypol
5a570be1f1 removed scriptparam house pats for customhousecommit. Added docs for customhouse changes 2019-12-15 09:39:39 +01:00
turleypol
c61b877caa
Healthbarfix (#105)
* fixed poison/invul pkt for newer clients

* updated corechanges
2019-12-12 16:04:02 +01:00
Admin-Yukiko
21d4921781 A typo fix and a little formatting changes. (#104)
* My first attempt at implementing 'fame' and 'karma' as character members. I am unable to assign values yet but the Core compiles without errors.

* With help from Nando I fixed the issue. I can now read and write the fame and karma members. I want to verify I entered the code in the prefered "get member" function but it WORKS!

* Commented out all my changes until I can learn how to make fame and karma store internally as a struct etc.

* Messed something up. Even the non struct fame and karma did not work. Reverting back to POL before any of my changes. No fame, no karma.

* Changed: pol.cfg settings HideWarningGump and HideWarningItem to ShowWarningGump and ShowWarningItem. This positive logic is consistent with all other console output settings.
Default is zero (0). The output will not be displayed unless set to one (1).

* Forgot to run buildcorechanges.py prior to commiting the previous commit. This rectifies that.

* Reverting my Dev branch to current polserver master.

* Attempt number 2:
Changed: pol.cfg settings HideWarningGump and HideWarningItem to ShowWarningGump and ShowWarningItem.
This positive logic is consistent with all other console output settings.
Default is zero (0). The output will not be displayed unless set to one (1).

* Set default behaviour for ShowWarningGump and ShowWarningItem to display warnings (1).

* Added ShowWarningGump and ShowWarningItem settings to pol.cfg.example.

* Fixed a typo and did minor formatting changes.
2019-11-13 09:32:55 +01:00
Admin-Yukiko
323f9f18a2
Resubit-Adding new operators and a little reformatting. 2019-11-11 08:36:49 +00:00
turleypol
d3a300aef9 added missing objreference documentation eg. complete xml objects. 2019-11-10 11:29:19 +01:00
turleypol
59c816cab1 added ecompile.cfg and cmdline flag to trigger error when include
directives use the wrong capitalization. The existing warning will now
lead to an error when warnings get treated as errors.
2019-10-07 21:01:26 +02:00
turleypol
9a43a5f045 added docs 2019-10-05 14:11:01 +02:00
turleypol
1b6594e5ad fixed min/max damage visualization in the statusbar 2019-10-03 14:41:53 +02:00
Fernando Rozenblit
818c06af96 GetProcess(-1) will now return the script pid. GetProcess(0) will not find any script, as before. For this change, script pids had to be constrained to the range of valid signed ints. Please update your .em's and recompile. 2019-09-30 23:49:31 +02:00
GIB
7c02e926e2 Added package reference to script object. 2019-09-26 21:41:45 +08:00
Fernando Rozenblit
d092c7da64 Update core-changes date 2019-09-21 11:13:01 +02:00
turleypol
f5310f48f4 Merge remote-tracking branch 'origin/master' into utf8
* origin/master:
  Style...
  Getting rid of a warning
  Fixed wrong return type
  style issues :p
  Fixed the check for max line length and some other minor issues
  Added SocketLineReader class, which is responsible for reading lines from a socket in a more efficient way. Modified Aux, Debug and WWW to use the new class.
  removed some ancient macros from clib.h
  Added error for if NaN sent as PID
  Update docs to use different wording to prevent confusion.
  Updated Docs.
  Fix for GetProcess() not actually loading the parent PID.
  Update docs to use different wording to prevent confusion.
  updated travis build clang and ninja
  Updated Docs.
  Fix for GetProcess() not actually loading the parent PID.
  Improved network code used by http and aux servers

Conflicts:
	pol-core/doc/core-changes.txt
2019-09-02 18:55:07 +02:00
Fernando Rozenblit
ff9f415bd0 Merge changes from 'origin/master' into network-improvements. Added core-changes entry. 2019-08-26 18:42:27 +02:00
Jonathan Morland-Barrett
064c6aec44 Update docs to use different wording to prevent confusion. 2019-08-22 07:42:08 +08:00
Jonathan Morland-Barrett
20eb7f24c7 Updated Docs. 2019-08-22 07:42:08 +08:00
GIB
0729ed7129
Fix to items randomly loading with AOS props due to incorrect initalization of props on load of server.
Hotfix/dynaprop fix (#93)
2019-07-12 15:14:35 +08:00
GIB
76487f0ab2
SendQuestArrow() fix for HSA clients (#91)
* Changed SendQuestArrow to receive an arrow id rather than requiring an object reference.
*Added new error if no id is supplied to a cancellation request.
* .Fix uo.em to have correct default.
2019-06-19 10:30:41 +08:00
GIB
d8911acc72
Hotfix/start skill script (#90)
* Update os.em file so that script parameter is passed as a string by default instead of int.
Updated docs for start_skill_script to be clearer what is being asked for, and reflect changes to os.em
Modified script param check to also check the string length.
2019-06-17 21:23:57 +08:00
GIB
7c627437af
Noninvasive dynaprops (#89)
Added new mobile and item props from the AOS update. Please read docs to understand how they are applied and how they stack from items to mobiles.
2019-06-17 18:58:58 +08:00
GIB
23b07891d8
Update objref.xml
PC Update to objref.php for set_member() method of uobject.
2019-05-10 09:11:38 +08:00
Fernando Rozenblit
0bed27c1e9 Final adjustments to core-changes 2019-04-26 21:44:10 +02:00
Fernando Rozenblit
ec28958dc6 Added Turley's missing core-changes :P 2019-04-26 21:24:06 +02:00
Fernando Rozenblit
f4f9c20afd Merge branch 'master' into network-improvements 2019-04-26 20:33:27 +02:00
Fernando Rozenblit
7157c92f56 Improved connection handling:
- Linux isn't limited to 1024 connections anymore
 - Windows may have some slight performance boost

Windows XP support had to be dropped. Let us know if you still used it.
2019-04-26 20:24:30 +02:00
Kevin Eady
b2c15f99dd add corechanges for doc changes 2019-03-19 19:58:30 +01:00
Kevin Eady
0d370c35fb Fix xml indentation 2019-03-17 20:57:55 +01:00
Kevin Eady
9bf7e727c9 fix indentation 2019-03-17 20:52:45 +01:00
Kevin Eady
3614b2550d add parameter to get an attribute value in tenths 2019-03-17 20:50:50 +01:00
Admin-Yukiko
4a1c08b6da Change HideWarningGump and HideWarningItem to ShowWarningGump and ShowWarningItem. (#85)
* Changed: pol.cfg settings HideWarningGump and HideWarningItem to ShowWarningGump and ShowWarningItem. This positive logic is consistent with all other console output settings.
Default is zero (0). The output will not be displayed unless set to one (1).

* Set default behaviour for ShowWarningGump and ShowWarningItem to display warnings (1).

* Added ShowWarningGump and ShowWarningItem settings to pol.cfg.example.
2019-03-09 11:40:31 +01:00
Fernando Rozenblit
0c077678df Removed option "Multithread" from pol.cfg. POL for a long time has defaulted to using multiple threads. 2019-02-22 19:24:23 +01:00
Fernando Rozenblit
088cd594fc Removed "ListenPort" from pol.cfg 2019-02-22 18:57:56 +01:00
Adriano Nogueira
7b9727f875 Added docs to HideWarningGump and HideWarningItem in pol.cfg 2019-02-20 22:53:49 -03:00
turleypol
864aa7a3bd hehe basic.em had SizeOf() so I removed util.em EstimateSize again... 2019-02-02 16:01:14 +01:00
turleypol
9b0e5e48b6 added documentation for EstimateSize 2019-02-02 10:41:49 +01:00
Admin\Me
65b0f29a90 Added: uoconvert.exe will now surface the AnimID for equippables to tiles.cfg. This can be used to look-up the gump pic for wearables that are displayed on the paper doll. Add this number to 50000 for male gumpart or 60000 for female gump art. The resulting number will be the gump art that is displayed in the paper doll. 2019-02-02 02:57:43 -06:00
Fernando Rozenblit
21120a9b08 Changed account.split() to return an accountref on success. Added the missing changelog from Kevin. 2019-01-21 20:22:22 +01:00
Fernando Rozenblit
ce98184602 Clarified docs about oncreate and ondelete scripts for characters 2019-01-21 18:59:51 +01:00
Fernando Rozenblit
b04feaab73 Doc fixes regarding account.setname() 2019-01-21 18:25:52 +01:00
Admin\Me
5cd18019c0 Added change log info to the escript.inc for the change made earlier and changed the lLast Updated date. 2019-01-11 04:40:09 -06:00
Admin\Me
c32829597f Added one minor adjustment to the tags for escript.inc 2019-01-11 04:21:08 -06:00
Admin\Me
46bb89e2b5 Added code formatting tags for eScript code to escript.inc for my previous documentation addition. I think this will work. 2019-01-11 04:18:33 -06:00
Admin\Me
780d4641f6 Fixed typo in escript.inc. "peopke" should be "people" in the new addition to the docs. 2019-01-11 03:43:43 -06:00