Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge moul scripts #645

Merged
merged 396 commits into from
May 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
396 commits
Select commit Hold shift + click to select a range
68053a7
Fix issues introduced in 65da644f07
Hoikas Nov 21, 2012
e60f013
xKI restructuration (part 1).
Lyrositor Sep 29, 2012
7f0e205
xKI restructuration (part 2).
Lyrositor Oct 27, 2012
985bfbe
xKI restructuration (part 3).
Lyrositor Oct 28, 2012
5fabfb2
xKI restructuration (part 4).
Lyrositor Nov 8, 2012
fd5248c
Merge pull request #38 from Lyrositor/clean-up
Hoikas Nov 22, 2012
3d86402
Fix cloth-map generation
Hoikas Nov 28, 2012
69ad1c7
Vogondola changes for CWE avatar-physics update.
Skoader Dec 2, 2012
ba68b87
Localization fix for xKI PtDebugPrint messages.
Lyrositor Dec 3, 2012
87d5821
Fix Pellet Point Stealing
Hoikas Dec 16, 2012
2543fb1
Some initial cleanups of nb01EmgrPhase0
Hoikas Dec 16, 2012
4fbd9b0
Move Neighborhood scrambling to nb01EmgrPhase0
Hoikas Dec 16, 2012
7fc3616
Add ptSimpleStateVariable.isUsed stub
Hoikas Dec 16, 2012
273e25a
Merge pull request #41 from Lyrositor/xKI-fix
Dec 16, 2012
07aee1b
Merge pull request #42 from Hoikas/hood-random
Dec 26, 2012
3213b2c
Fix xKI insanity
Hoikas Dec 26, 2012
de1c2f6
Merge pull request #43 from Hoikas/ki
Dec 26, 2012
f424ea7
Fix randint misuse
Hoikas Dec 26, 2012
43e1d4b
Merge pull request #44 from Hoikas/hood-random
Dec 26, 2012
3c5ac7d
Fix some typos.
Lyrositor Dec 28, 2012
f77ef84
Merge pull request #45 from Lyrositor/xKI-fix
Hoikas Dec 28, 2012
d904081
Fix idiot error
Hoikas Dec 29, 2012
728b228
Fix GlowInTheDark taceback
Hoikas Dec 29, 2012
dc753c8
Fix imager bug when using the miniKI.
Lyrositor Dec 29, 2012
9eafa08
Merge pull request #47 from Lyrositor/xKI-fix
Hoikas Dec 29, 2012
feb3f31
Merge pull request #39 from Lunanne/line-endings
Deledrius Jan 19, 2013
fa6a245
Add /party KI Command
Hoikas Jan 26, 2013
da06ee5
Don't ask the server about hardcoded instances
Hoikas Jan 30, 2013
bc6ba6c
Internal Clients can visit any GuildPub
Hoikas Jan 30, 2013
316666d
Internal Clients can post to any Imager
Hoikas Jan 30, 2013
a1bbc30
Preliminary fixes for xJournalBookGUIPopup
Deledrius Jul 14, 2012
164a911
Merge pull request #48 from Deledrius/JournalBookFixes
Hoikas Feb 1, 2013
a7a0fe2
Merge pull request #46 from Hoikas/glowindark
Feb 2, 2013
03810c8
Fix string formatting error in ahnyQuabs
Hoikas Feb 4, 2013
e648fca
Fix traceback in /look command
Hoikas Feb 4, 2013
d5b3401
Don't overwrite the names of personal ages
Hoikas Feb 4, 2013
37d9b0b
Handle spurious apostrophes in age names
Hoikas Feb 5, 2013
50130ba
Fix Zandi Welcome
Hoikas Feb 5, 2013
b65f377
add PtGetNPCByID function to Plasma.py
ChristopherS Feb 6, 2013
70144a4
add PtWearRandomOutfit function to PlasmaTypes.py
ChristopherS Feb 6, 2013
9667121
Removed ptCamera aspect ratio hacks
Hoikas Feb 7, 2013
8b629e5
Add better exception-handling to xCheat's SDL functions.
Deledrius Feb 7, 2013
1b92fc6
add PtGetNPCCount function to python API
ChristopherS Feb 7, 2013
73cc18f
Merge pull request #54 from Deledrius/xcheat_tracebacks
Hoikas Feb 8, 2013
7594d0b
Merge pull request #50 from Hoikas/quabs
Feb 8, 2013
1341c4d
Merge pull request #51 from Hoikas/ki-fixes
Feb 8, 2013
72b4597
Merge pull request #52 from Hoikas/zandi
Feb 8, 2013
fc3e8ac
Merge pull request #55 from Hoikas/hor-plus
Feb 8, 2013
36e98a9
Merge pull request #53 from ChristopherS/npc
Hoikas Feb 13, 2013
0fe1b50
Fix more spurious apostrophes and improper naming
Hoikas Feb 13, 2013
0a50051
Add some popular fan ages to the filter
Hoikas Feb 13, 2013
0eb1018
Merge pull request #49 from Hoikas/free4all
Hoikas Feb 19, 2013
839fb6c
Fix RTChat flags to match pfKIMsg.h
Hoikas Feb 19, 2013
9617526
Add the AllPlayers folder to internal-release KIs
Hoikas Feb 22, 2013
758b77a
Add `/system` command
Hoikas Feb 22, 2013
c3d8a72
Add ptVault.getAllPlayersFolder stub
Hoikas Feb 22, 2013
64e7c94
Refresh the FOV when leaving the gun
Hoikas Feb 26, 2013
927105d
Merge pull request #58 from Hoikas/ki-fixes
Mar 15, 2013
5b990f4
Merge pull request #63 from Hoikas/gun-fov
Hoikas Apr 12, 2013
b461ed9
Merge pull request #62 from Hoikas/ccr-bcast
Hoikas Apr 13, 2013
86b6264
Rename PhilRelto.sdl to philRelto.sdl
Hoikas Apr 17, 2013
2c9fe43
Fix philRelto STATEDESC casing
Hoikas Apr 17, 2013
00afbf3
Refactor nb01EmgrPhase0
Deledrius May 1, 2013
d40eb8c
Fix over eager window flashing
Hoikas May 7, 2013
2322703
Fix #64
Hoikas May 25, 2013
f15d81c
Fix broken SaveColumns command.
Lyrositor Jun 16, 2013
98674a2
Merge pull request #65 from Lyrositor/savecolumns-fix
Hoikas Jun 16, 2013
b70a12a
Rewrite xAgeSDLBoolShowHide to be more pythonic
Hoikas Apr 24, 2013
9c7a936
Rewrite xAgeSDLBoolRespond to be more pythonic
Hoikas May 6, 2013
c147876
Metaprogrammed psnlVaultSDLBoolShowHide
Hoikas Jun 17, 2013
f4676b3
Metaprogrammed psnlVaultSDLBoolRespond
Hoikas Jun 17, 2013
2a4b325
Merge pull request #66 from Hoikas/generic-refactor
Hoikas Jun 19, 2013
5ad31a7
Fix 3ds Max component bricking
Hoikas Jun 19, 2013
bf6e55e
Only ask for Public Ages once
Hoikas Jun 19, 2013
d649073
Revert metaprogrammed psnl modules
Hoikas Jun 20, 2013
fcf6c42
johnsojc's patch for avatar headshots
johnsojc Jul 13, 2013
9928c27
Hack around bugs in AgeSDL python parameters
Hoikas Jul 13, 2013
77f1174
Ensure remote players aren't miscounted as quabs
Hoikas Jul 13, 2013
5877b10
Merge pull request #69 from Hoikas/quab-overflow
Hoikas Jul 21, 2013
fd0e633
Fix tracebacks from artist fail
Hoikas Jul 22, 2013
e6aa72e
Merge pull request #71 from Hoikas/agesdl-fail
Hoikas Sep 28, 2013
e523b9d
Remove pure python PtDebugPrint
Hoikas Nov 19, 2013
5f9e3ef
PtDebugPrint stub
Hoikas Nov 20, 2013
b3d3896
Merge pull request #72 from Hoikas/debug-print
Hoikas Nov 30, 2013
8edd55a
Add avatar loading/saving functions to Plasma.py
Mystler Dec 15, 2012
f294fca
message is now passed as Unicode from C++
zrax Dec 7, 2013
b7e2986
Also encode directly from Unicode, elminating the need for kCharSet.
zrax Dec 8, 2013
421bb24
Add /saveclothing and /loadclothing KI-Commands
Mystler Dec 6, 2013
5543af3
Merge pull request #73 from zrax/fix_unicode_chat
Hoikas Dec 10, 2013
4797d6d
Merge pull request #56 from Mystler/clothingfiles
Hoikas Dec 12, 2013
2b83f6d
Don't save clothing to the CWD
Hoikas Dec 12, 2013
af74f8a
Fix /replying to private admin messages and message color in inter-ag…
Mystler Dec 15, 2013
a81c638
Merge pull request #74 from Mystler/pmfix
Hoikas Dec 15, 2013
4651ab6
Enable window flashing and highlighting on mentions in chat messages
Mystler Dec 22, 2013
6dd15b9
Merge pull request #75 from Mystler/mentions
Hoikas Dec 23, 2013
c47617b
Add script counterparts to animFun client branch
Mystler Apr 26, 2012
5cf8aa1
Make /dance an animation loop
Mystler Jan 20, 2014
9eaf711
Add /threaten as a coop animation example
Mystler Jan 20, 2014
0918f56
Fix unicode error in nb01RPSGame.py
Filtik Jan 26, 2014
26268bc
Merge pull request #78 from Filtik/RPSGame
Deledrius Jan 26, 2014
602db47
Fix RPSGame-UpdateImager
Filtik Jan 29, 2014
2a504f8
Merge pull request #76 from Mystler/animFun
Hoikas Feb 1, 2014
f156515
Remove unneeded kFontShadowed flags in the Big KI dialogs.
cwalther Apr 11, 2014
e1cfe17
Merge pull request #80 from cwalther/textrendering
Hoikas Apr 26, 2014
7490040
New Update for RPGGame
Filtik Apr 28, 2014
9a5a6c7
Implement chat history browsing (Client and Python)
Filtik May 9, 2014
d84b669
Merge pull request #81 from Filtik/chathistory
Hoikas May 10, 2014
2e5ab05
Merge branch 'master' into party-cmd
Hoikas May 16, 2014
48a11c6
Fix /party issues...
Hoikas May 16, 2014
7cf4902
Merge pull request #79 from Filtik/RPSGame-Imager
Hoikas May 16, 2014
60bbad9
Move /party code to "other commands"
Hoikas May 18, 2014
e6e9920
nb01EmgrPhase0: Only update the AgeVaultSDL once
Hoikas May 19, 2014
f6d0775
ptDynamicMap now takes string and unicode
Hoikas May 20, 2014
a776897
Merge pull request #84 from Hoikas/dynamap-string
zrax May 25, 2014
5d7cfce
xSimpleImager: Don't grab AgeSDL if no inbox.
Hoikas May 27, 2014
52c9c9e
Merge pull request #82 from Hoikas/party-cmd
Deledrius Jun 2, 2014
04c131f
Fix chat fade bug.
Hoikas Jun 2, 2014
6e22775
Smoother chat fade...
Hoikas Jun 2, 2014
277bc25
Merge pull request #85 from Hoikas/chatfade
Deledrius Jun 3, 2014
aa8aa38
Fix text notes appearing from the Game Master.
Hoikas Jun 4, 2014
29de32f
Make 'cleardaImager' clear the imager to black.
Hoikas Jun 4, 2014
c854b76
Fix avatars not having Relto books
Hoikas Jun 4, 2014
056dc28
Merge pull request #83 from Hoikas/emgr-update
Hoikas Jun 5, 2014
9581bb4
Merge pull request #86 from Hoikas/imager
Hoikas Jun 5, 2014
26fbacb
Update and rename SpyRoom.sdl to spyroom.sdl
Hoikas Jun 7, 2014
7bbe07b
Log chat input before processing commands
Mystler Jun 29, 2014
51528ab
Fix private admin message bug
Mystler Jul 1, 2014
bc4240f
Merge pull request #87 from Mystler/cmdhistory
Hoikas Jul 5, 2014
9b88614
Merge pull request #88 from Mystler/adminmsg
Hoikas Jul 5, 2014
ae8e065
Change movie names
Lunanne Mar 29, 2014
e76ddd2
Do not mute *all* sound when playing Intro video in options menu
Mystler Oct 29, 2014
28b5547
Bump a public neighborhood to the top of the Nexus list when someone …
cwalther Dec 26, 2014
23edc98
Merge pull request #89 from Mystler/webm
Hoikas Dec 26, 2014
6a5c36c
Add comment clarifying the purpose of IUpdatePublicHoodDate().
cwalther Dec 26, 2014
6e98d8d
Merge pull request #90 from cwalther/hoodautobump
Hoikas Dec 29, 2014
3a4d1d2
Always load in grsnWellSecondFloorRooms page
EhrenCG Jan 2, 2015
75fbaea
Merge pull request #91 from EhrenCG/patch-1
Deledrius Jan 3, 2015
409389e
Add new fan-created clothing pages
Jun 24, 2015
f8e8d3b
All chat message are age-wide shouts
Hoikas Jul 25, 2015
16246bd
Plasma.py stubs for leaderboards
Hoikas Jul 28, 2015
bf3be60
Merge pull request #92 from Dhelayan/patch-1
Hoikas Jul 28, 2015
5db2dab
Merge pull request #93 from Hoikas/default-shout
Hoikas Jul 28, 2015
9bf5a6e
Don't stand from AFK/generic brains on BigKI close
Hoikas Jul 31, 2015
324eea0
Don't assume the loc files have whitespace
Hoikas Aug 1, 2015
687d522
Merge pull request #94 from Hoikas/game-score-leaders
Hoikas Aug 1, 2015
723ca99
Rewrite nb01RPSGame to no longer use the GameMgr
Hoikas Apr 26, 2014
d4dc5aa
Move chat message censoring closer to the metal
Hoikas Aug 7, 2015
a293b10
Rewrite CGZMs to not use the game manager
Hoikas Aug 5, 2015
78a8e1e
User Created Marker Quests
Hoikas Aug 7, 2015
868e4fb
Fix GPS granting
Hoikas Aug 7, 2015
4c3ebbc
Don't show nonsense to folks with low KI levels
Hoikas Aug 7, 2015
e646b59
We can send the marker game if we're playing it.
Hoikas Aug 7, 2015
c82b49f
Remove obsoleted GameMgr based marker code
Hoikas Aug 8, 2015
15e5bc0
Remove the game manager
Hoikas Aug 8, 2015
deb762f
Always display the bottom-bar KI alert for GZ Markers in range.
Deledrius Aug 8, 2015
8ac07e2
Merge pull request #99 from Deledrius/GZ-Alerts
Hoikas Aug 8, 2015
f06cf4c
Add Plasma.py stubs for MLEdit changes
Hoikas Aug 9, 2015
a659f32
Selectively kill the KI Fade Timer
Hoikas Aug 9, 2015
19f7e54
Update the chat area intelligently
Hoikas Aug 9, 2015
c4e7982
Fix chat fade not working
Hoikas Aug 10, 2015
19ae6c9
Add "uft8" param in chatHeaderFormatted
Michellacoste Aug 16, 2015
c51736a
Use new getPlayerNameW API from H-uru/Plasma#519
zrax Aug 16, 2015
e321c8e
Merge pull request #1 from zrax/mlc_master
Michellacoste Aug 17, 2015
87e7e20
Merge pull request #101 from Michellacoste/master
zrax Aug 23, 2015
3a462b7
Fix typos
Hoikas Sep 13, 2015
1dae424
Remove spurious PlasmaGame import from xKI
Hoikas Oct 11, 2015
93841c5
Fix AttributeError in grtzMarkerScope update
Hoikas Oct 12, 2015
137b242
Fix CGZM times not updating correctly
Hoikas Nov 21, 2015
e9a1c8f
Allow adjusting the CGZM time via BackdoorMsg
Hoikas Nov 21, 2015
22b4ef9
Merge pull request #100 from Hoikas/ki-lag
Hoikas Nov 23, 2015
647a5aa
Merge pull request #97 from Hoikas/vault-markers
Hoikas Nov 23, 2015
b7c5a90
Merge pull request #96 from Hoikas/heek
Hoikas Nov 23, 2015
71bef5a
Merge pull request #95 from Hoikas/bluespiral
Hoikas Nov 23, 2015
b6b0d05
Merge pull request #98 from Hoikas/kill-gamemgr
Hoikas Nov 23, 2015
ab2b70b
Fix broken marker quest hotkeys
Hoikas Dec 12, 2015
336daa2
Clear marker selection if marker is deleted
Hoikas Dec 12, 2015
6172b39
Fix GZM state being overwritten by the MarkerMgr
Hoikas Dec 31, 2015
3299df9
Fix BigKI chat fade issue
Hoikas Jan 24, 2016
91e1fc9
Fix Python glue for ages with dashes in filename
Hoikas Jan 31, 2016
c21bde9
Remove old JPEG fallback code in screenshot function.
Deledrius Dec 22, 2016
5f96acb
Add stubs for marker game rewards
Hoikas Jan 16, 2017
a263893
Implement rewards for vault-baked quest games
Hoikas Jan 16, 2017
316dece
Merge pull request #103 from Deledrius/jpegcruft
Hoikas Jan 16, 2017
2cf9dfd
Add helpers for VolumeSensorNoArbitration
Hoikas Jan 19, 2017
e63ff04
Mark subworld activators as no arbitration
Hoikas Jan 19, 2017
582769d
Merge pull request #105 from Hoikas/fall-thru-floor
Hoikas Jan 21, 2017
56d7690
Don't load markers from other ages in edit mode
Hoikas Jan 22, 2017
bec513b
Merge pull request #104 from Hoikas/marker-rewards
Hoikas Jan 27, 2017
75193f9
Alleviate marker list scrolling issues
Hoikas Jan 30, 2017
9fceefc
Peons can no longer delete global marker games
Hoikas Feb 20, 2017
548d36e
Update scripts to match H-uru/Plasma#549
Hoikas May 30, 2017
0e4a87f
Merge pull request #106 from Hoikas/fix-onpageload
Hoikas May 31, 2017
40203db
Write PNG metadata in screenshots.
Deledrius Dec 19, 2016
0d1e267
Merge pull request #102 from Deledrius/PNG_Metatext
Hoikas Apr 1, 2018
2ef383b
Fix time on neighborhood clocks
estherbolik Sep 7, 2018
7de9edd
Increase neighborhood DayLength
estherbolik Sep 14, 2018
7888eaa
Merge pull request #107 from estherbolik/nbclock
Deledrius Sep 14, 2018
bd1fcfa
Add more robust aspect ratio handling
Hoikas Feb 17, 2019
17bf98b
Fix some issues from review by @cwalther
Hoikas Feb 23, 2019
2dc3d52
Merge pull request #109 from Hoikas/ultrawide
Hoikas Feb 23, 2019
e203f32
remove all references to visitors vs subscribers
Lunanne Oct 6, 2018
ac5cca9
review fixes
Lunanne Oct 15, 2018
1f8aa80
what formatting changes there are no formatting changes. It totally d…
Lunanne Mar 3, 2019
b211730
Merge pull request #108 from Lunanne/remove-visitors
Hoikas Sep 11, 2019
ba12aa2
Remove PtCreatePlayerW.
Hoikas Sep 19, 2019
b715bcb
The events record structure might not be a list.
Hoikas Sep 19, 2019
d9cd5c6
Merge pull request #110 from Hoikas/pyglue
Hoikas Oct 25, 2019
fab79ce
Enable porting of xJBGUIP to Py2.3.
Hoikas Nov 21, 2019
cce20d7
Merge pull request #112 from Hoikas/jloc
Hoikas Nov 21, 2019
21655d6
Fix tracebacks in nb01EmgrPhase0.py.
Hoikas Dec 11, 2019
df3e800
Nexus: Ensure city links always have a display name.
Hoikas Jan 22, 2020
8a42e9d
Nexus: Fix public links SDL visibility control.
Hoikas Jan 22, 2020
d10818f
Everyone is an explorer, so don't test a global variable.
Hoikas Feb 12, 2020
10c6622
Disable "Create Visitor" hotspot.
Hoikas Feb 12, 2020
13004e6
Merge pull request #113 from Hoikas/all_explorers
Deledrius Feb 13, 2020
87d7c4a
Add xSitCam script.
Hoikas Feb 19, 2020
0e9e44f
Don't use a class member for instance state.
Hoikas Mar 3, 2020
8986312
Also keep scrolling locked to the text when scrolled up after the cha…
cwalther Dec 2, 2012
d507528
Flash the down scroll arrow when new chat comes in while scrolled up.
cwalther Dec 2, 2012
5a2ec5a
change literal from octal to decimal
Mar 11, 2020
1e3fcf9
Merge pull request #116 from aqua-uru/unoctal
Hoikas Mar 11, 2020
f8eedbe
Merge pull request #115 from cwalther/scroll-position
Hoikas Mar 13, 2020
8a19e97
fix registration of players in Er'cana tunnels
Mar 15, 2020
a3a1463
replace old bools by new bools
Mar 15, 2020
7d91ef6
replace `type(x) == type(y)` checks by isinstance
Mar 15, 2020
b198c73
Merge pull request #117 from aqua-uru/ercana-tunnel-fix
Hoikas Mar 16, 2020
e3d70a5
convert all remaining dos line endings to unix
Mar 16, 2020
1e707bb
replace type and value check by "if x:"
Mar 17, 2020
49b84ec
remove vault None checks
Mar 17, 2020
b66e384
replace plasma types in insinstance checks
Mar 16, 2020
39f8de0
make some isinstance checks implicit
Mar 16, 2020
c5ce19e
improve xPotsSymbol:OnFirstUpdate
Mar 17, 2020
090897f
change types module checks to isinstance
Mar 17, 2020
999582f
Merge pull request #120 from aqua-uru/isinstance
Hoikas Mar 26, 2020
74997a1
Merge pull request #123 from aqua-uru/line-endings
zrax Apr 24, 2020
75a3da4
Merge branch 'master' into replace-bools
Apr 25, 2020
9b1b499
replace dict methods by py3-equivalent views
Mar 15, 2020
667b8b3
Merge branch 'master' into dictviews
May 3, 2020
c38c415
simplify 'solo' and 'boolLinkerIsMe' if-statements
Apr 25, 2020
4c2c7e1
convert implicit truthies/falsies
Apr 25, 2020
b5166a2
Merge pull request #121 from aqua-uru/dictviews
Hoikas May 5, 2020
36cf301
Merge pull request #118 from aqua-uru/replace-bools
Hoikas May 6, 2020
8bfee98
run 2to3 fixers 'print', 'exec', 'import', 'has_key', 'repr', 'funcat…
May 6, 2020
552fc46
convert most 'print' calls to 'PtDebugPrint' calls
May 6, 2020
2f45183
remove unused cPickle imports
May 8, 2020
89895a3
Merge pull request #119 from aqua-uru/2to3-safe
Hoikas May 9, 2020
a82f7b2
Merge pull request #125 from aqua-uru/2to3-pickle
Hoikas May 9, 2020
33652a5
Move moul-scripts content to Scripts subdirectory
zrax Apr 24, 2020
90041e6
Merge branch 'master' from moul-scripts
zrax May 9, 2020
3eaab61
Update README.md to remove references to the moul-scripts repo.
zrax May 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ For a project roadmap, see https://github.com/H-uru/Plasma/wiki/Roadmap
Related Projects
----------------

- [moul-scripts](https://github.com/H-uru/moul-scripts) - An updated repository
of game scripts containing bug-fixes and compatible with modern python
interpreters for use with Plasma.
- [dirtsand](https://github.com/H-uru/dirtsand) - An open-source
Plasma-compatible server project.

Expand Down Expand Up @@ -95,14 +92,12 @@ Running Instructions
--------------------

To run the Internal Client for testing with MOULa content, you will need the a
fully-patched installation of MOULa provided by Cyan Worlds. In addition, you
will need to download or clone the files available on the
[moul-scripts repository](https://github.com/H-uru/moul-scripts).
fully-patched installation of MOULa provided by Cyan Worlds.

1. Copy the **files from your existing MOULa installation** to a new folder, or
install fresh if you do not already have it installed. This folder will be
referred to as *MOUL-OS* for the remainder of these instructions.
2. Copy the **Python and SDL** folders from moul-scripts into the *MOUL-OS*
2. Copy the **Python and SDL** folders from Scripts into the *MOUL-OS*
folder, as well as the **files in dat** into the existing dat folder.
3. Copy the example_server.ini file from the root of the Plasma repository into
your *MOUL-OS* folder, and rename it as **server.ini**. If you are running
Expand Down
3 changes: 3 additions & 0 deletions Scripts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
*.pyo
.*.swp
245 changes: 245 additions & 0 deletions Scripts/Python/Ahnonay.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
# -*- coding: utf-8 -*-
""" *==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Additional permissions under GNU GPL version 3 section 7
If you modify this Program, or any covered work, by linking or
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
(or a modified version of those libraries),
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
licensors of this Program grant you additional
permission to convey the resulting work. Corresponding Source for a
non-source form of such a combination shall include the source code for
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
work.
You can contact Cyan Worlds, Inc. by email [email protected]
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==* """
"""
Module: Ahnonay.py
Age: Ahnonay
Date: June 2003
"""

from Plasma import *
from PlasmaTypes import *
from PlasmaNetConstants import *
from xPsnlVaultSDL import *

spherePages = ["Ahnonay_District_ahnySphere01",
"Ahnonay_District_ahnySphere02",
"Ahnonay_District_ahnySphere03",
"Ahnonay_District_ahnySphere04",
"Ahnonay_ahnySphere01",
"Ahnonay_ahnySphere02",
"Ahnonay_ahnySphere03",
"Ahnonay_ahnySphere04"]

class Ahnonay(ptResponder):

def __init__(self):
ptResponder.__init__(self)
self.id = 5399
self.version = 1

def OnFirstUpdate(self):
pass

def OnServerInitComplete(self):
agevault = ptAgeVault()
ageinfo = agevault.getAgeInfo()
guid = ageinfo.getAgeInstanceGuid()
linkid = None
locked = None
volatile = None
spawn = None
owner = None
myID = str(PtGetClientIDFromAvatarKey(PtGetLocalAvatar().getKey()))

ageStruct = ptAgeInfoStruct()
ageStruct.setAgeFilename("Personal")

vault = ptVault()
ageLinkNode = vault.getOwnedAgeLink(ageStruct)
if ageLinkNode:
ageInfoNode = ageLinkNode.getAgeInfo()
ageInfoChildren = ageInfoNode.getChildNodeRefList()
for ageInfoChildRef in ageInfoChildren:
ageInfoChild = ageInfoChildRef.getChild()
folder = ageInfoChild.upcastToFolderNode()
if folder and folder.folderGetName() == "AgeData":
ageDataFolder = folder
ageDataChildren = folder.getChildNodeRefList()
for ageDataChildRef in ageDataChildren:
ageDataChild = ageDataChildRef.getChild()
chron = ageDataChild.upcastToChronicleNode()
if chron and chron.getName() == "AhnonayLink":
linkid = chron
PtDebugPrint("Ahnonay.OnServerInitComplete(): Link Chron already exists: %s" % (linkid.getValue()))
elif chron and chron.getName() == "AhnonayLocked":
locked = chron
PtDebugPrint("Ahnonay.OnServerInitComplete(): Locked Chron already exists: %s" % (locked.getValue()))
elif chron and chron.getName() == "AhnonayVolatile":
volatile = chron
PtDebugPrint("Ahnonay.OnServerInitComplete(): Volatile Chron already exists: %s" % (volatile.getValue()))
elif chron and chron.getName() == "AhnonaySpawnPoints":
spawn = chron
PtDebugPrint("Ahnonay.OnServerInitComplete(): Spawn Chron already exists: %s" % (spawn.getValue()))
elif chron and chron.getName() == "AhnonayOwner":
owner = chron
break

if owner == None:
PtDebugPrint("I am not the age owner, and I don't have my own Ahnonay")
elif owner.getValue() == myID:
if linkid == None:
PtDebugPrint("Ahnonay.OnServerInitComplete(): Link Chron not found, creating")
newNode = ptVaultChronicleNode(0)
newNode.chronicleSetName("AhnonayLink")
newNode.chronicleSetValue(guid)
ageDataFolder.addNode(newNode)

if locked == None:
PtDebugPrint("Ahnonay.OnServerInitComplete(): Locked Chron not found, creating")
newNode = ptVaultChronicleNode(0)
newNode.chronicleSetName("AhnonayLocked")
newNode.chronicleSetValue("1")
ageDataFolder.addNode(newNode)

if volatile == None:
PtDebugPrint("Ahnonay.OnServerInitComplete(): Volatile Chron not found, creating")
newNode = ptVaultChronicleNode(0)
newNode.chronicleSetName("AhnonayVolatile")
newNode.chronicleSetValue("0")
ageDataFolder.addNode(newNode)

if spawn == None:
PtDebugPrint("Ahnonay.OnServerInitComplete(): Spawn Chron not found, creating")
newNode = ptVaultChronicleNode(0)
newNode.chronicleSetName("AhnonaySpawnPoints")
newNode.chronicleSetValue("Default,LinkInPointDefault")
ageDataFolder.addNode(newNode)

if volatile and linkid:
if volatile.getValue() == "1" and guid != linkid.getValue():
PtDebugPrint("Ahnonay.OnServerInitComplete(): In a new instance of Ahnonay so setting new vars")
linkid.setValue(guid)
locked.setValue("1")
volatile.setValue("0")
spawn.setValue("Default,LinkInPointDefault")
else:
PtDebugPrint("I am not the age owner, but I do have my own Ahnonay")


ageSDL = PtGetAgeSDL()
sphere = ageSDL["ahnyCurrentSphere"][0]

if sphere > 4:
sphere = 1
ageSDL["ahnyCurrentSphere"] = (1,)

linkmgr = ptNetLinkingMgr()
link = linkmgr.getCurrAgeLink()
spawnPoint = link.getSpawnPoint()

spTitle = spawnPoint.getTitle()
spName = spawnPoint.getName()

if spTitle == "SCSavePoint":
if spName == "SaveClothPoint7" or spName == "SaveClothPoint8":
PtDebugPrint("linking to hub or hut")
newSphere = 4
else:
offset = str(ageSDL["ahnyCurrentOffset"][0])
PtDebugPrint("Ahnonay.OnPageLoad(): Sphere0%s loaded with offset:%s" % (sphere, offset))
newSphere = (int(sphere) - int(offset)) % 4
if newSphere == 0:
newSphere = 4
else:
newSphere = sphere

if newSphere == 1:
PtPageInNode("Sphere01BuildingInterior")
PtPageInNode("MaintRoom01")
PtPageInNode("ahnySphere01")
elif newSphere == 2:
PtPageInNode("MaintRoom02")
PtPageInNode("ahnySphere02")
elif newSphere == 3:
PtPageInNode("MaintRoom03")
PtPageInNode("ahnySphere03")
elif newSphere == 4:
PtPageInNode("Vortex")
PtPageInNode("Hub")
PtPageInNode("MaintRoom04")
PtPageInNode("EngineerHut")
PtPageInNode("ahnySphere04")

###########################
def OnPageLoad(self,what,who):
global spherePages
PtDebugPrint(u"Ahnonay.OnPageLoad(): what={} who={}".format(what, who), level=kDebugDumpLevel)

if what == kLoaded:
if who in spherePages:
ageSDL = PtGetAgeSDL()
sphere = str(ageSDL["ahnyCurrentSphere"][0])
offset = str(ageSDL["ahnyCurrentOffset"][0])
PtDebugPrint("Ahnonay.OnPageLoad(): Sphere0{} loaded with offset:{}".format(sphere, offset), level=kWarningLevel)

linkmgr = ptNetLinkingMgr()
link = linkmgr.getCurrAgeLink()
spawnPoint = link.getSpawnPoint()

spTitle = spawnPoint.getTitle()
spName = spawnPoint.getName()

if spTitle == "SCSavePoint":
if spName == "SaveClothPoint7" or spName == "SaveClothPoint8":
PtDebugPrint("linking to hub or hut")
newSphere = 4
else:
newSphere = (int(sphere) - int(offset)) % 4
if newSphere == 0:
newSphere = 4
spawnPoint = spName + str(newSphere)
PtGetLocalAvatar().physics.warpObj(PtFindSceneobject(spawnPoint, "Ahnonay").getKey())
else:
defaultLink = "LinkInPointSphere0%s" % (sphere)
PtGetLocalAvatar().physics.warpObj(PtFindSceneobject(defaultLink, "Ahnonay").getKey())

###########################
def OnNotify(self,state,id,events):
pass

###########################
def OnBackdoorMsg(self, target, param):
ageSDL = PtGetAgeSDL()
if target == "sphere":
if self.sceneobject.isLocallyOwned():
ageSDL["ahnyCurrentSphere"] = (int(param),)
92 changes: 92 additions & 0 deletions Scripts/Python/AhnonayCathedral.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# -*- coding: utf-8 -*-
""" *==LICENSE==*

CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Additional permissions under GNU GPL version 3 section 7

If you modify this Program, or any covered work, by linking or
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
(or a modified version of those libraries),
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
licensors of this Program grant you additional
permission to convey the resulting work. Corresponding Source for a
non-source form of such a combination shall include the source code for
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
work.

You can contact Cyan Worlds, Inc. by email [email protected]
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021

*==LICENSE==* """
"""
Module: AhnonayCathedral.py
Age: AhnonayCathedral
Date: June 2003
"""

from Plasma import *
from PlasmaTypes import *

class AhnonayCathedral(ptResponder):

def __init__(self):
ptResponder.__init__(self)
self.id = 5398
self.version = 1

def OnFirstUpdate(self):
pass

def OnServerInitComplete(self):
owner = None
vault = ptVault()
ageStruct = ptAgeInfoStruct()
ageStruct.setAgeFilename("Personal")
ageLinkNode = vault.getOwnedAgeLink(ageStruct)
if ageLinkNode:
ageInfoNode = ageLinkNode.getAgeInfo()
ageInfoChildren = ageInfoNode.getChildNodeRefList()
for ageInfoChildRef in ageInfoChildren:
ageInfoChild = ageInfoChildRef.getChild()
folder = ageInfoChild.upcastToFolderNode()
if folder and folder.folderGetName() == "AgeData":
ageDataFolder = folder
ageDataChildren = folder.getChildNodeRefList()
for ageDataChildRef in ageDataChildren:
ageDataChild = ageDataChildRef.getChild()
chron = ageDataChild.upcastToChronicleNode()
if chron and chron.getName() == "AhnonayOwner":
owner = chron
break
if owner == None and vault.amOwnerOfCurrentAge():
PtDebugPrint("I own this Cathedral, but I haven't set myself as Ahnonay owner yet.")
newNode = ptVaultChronicleNode(0)
newNode.chronicleSetName("AhnonayOwner")
newNode.chronicleSetValue(str(PtGetClientIDFromAvatarKey(PtGetLocalAvatar().getKey())))
ageDataFolder.addNode(newNode)

def OnNotify(self,state,id,events):
pass

Loading