Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Chen Zhen

1
Doing it that way will be a lot of work.
There are many lines to be edited and it was easier to do them in bulk.

How many bbc mods have you added?
If it is few, would you consider using one of the custom bbc mods to add them instead?
Custom bbc or personalized bbc will allow you to add bbcodes.
Since they both use hooks to add them, this will not effect the parsing of the Subs.php file.
2
SMF Arcade Support + Plugins / Re: hooks??
September 04, 2019, 10:13:09 pm
Ok I think I see what you are requesting.
You are the one that supports/updates a shop mod.
I thought you were referring to the SA shop specifically although I gather it might me the same mod that you took over from Wayne at some point?

You are requesting a hook that passes some array data so that mod authors can opt what to do with that info?
That's easier for me and is a nice idea.
3

Yes it is although I took a break during the summer months due to other priorities.
Development has begun yet again and there will be another stable release within the next few months.

v2.57 is in the works.
4
SMF Arcade Support + Plugins / Re: HTML5 save sub-routine
September 04, 2019, 05:30:28 pm

The majority of HTML5 games are written in javascript (and jQuery libraries) which only requires a proper script editor.
I suggest Notepad plus plus (Notepad++) which is not to be confused with Notepad from Microsoft.
ref. https://notepad-plus-plus.org/

Make sure to adjust and save default settings for Linux line endings and learn to use commands to delete empty spaces at end of lines after you do edits.

Sometimes people that write games tend to use minor compression on their js files.
You can use online tools to decompress those files.
Most of the time it will work good enough to put in your save codes.
Then you can compress them again afterward in some cases if it reduces the file size as intended.

Imo a bit of javascript knowledge will be preferred but this is something you can dabble with to get the knack.
It is a very similar language to Actionscript which you seem to grasp a bit by having applied save types you mentioned.

It beats having to use flash editors.

 
5
SMF Arcade Support + Plugins / Re: hooks??
September 04, 2019, 05:20:39 pm

Many people have asked for the Arcade to be integrated with the shop mod.
To tell you the truth, I have never tried that modification.
I will add this as a priority upgrade to the current beta.

I suppose an additional arcade admin page for shop integration.
It can include options for # of points for #1 high score, any high score, etc.

Things have to be thought out properly to be fair though.
For example, if someone deletes one of their high scores then it should remove X number of points.
Another option is to provide a check box to not allow people to delete their scores.
If it were not set up this way, people will abuse the point system.
6

No problem.

I updated that thread with one instruction I forgot to initially include.
The actual downloading of the kernel update.. oops.
It is edited now to include that command.
7

If you are using CentOS, you should be able to follow the instructions from this link:
https://web-develop.ca/index.php?topic=446.0;moderate
8

Did you say you are still using CentOS 6 ?
 

FYI PHP 7.4 is scheduled to roll out some time in November 2019.
The newer syntax for anonymous functions is very favorable for developers.
It involves a more short hand command structure.
Previous syntax should still work for it though.
9

Are you referring to SMF Hacks?
That is the same version for the SMF 2.0.X branch.

SMF 2.1 should not need this type of modification as it should already be compliant with PHP 7.
 
10
SMF Arcade Support + Plugins / Re: Error
May 04, 2019, 11:01:36 pm

Please try the attached file.
11
SMF Arcade Support + Plugins / Re: Error
May 03, 2019, 10:17:16 pm

Please try the attached file and let me know if the error is fixed.
Thanks.

12
SMF Arcade Support + Plugins / Re: Error
April 28, 2019, 05:21:05 pm
Perhaps the reason I did not see the error is due to a different db system or db version.
SMF has different sub-routines for a small variety of database systems.

What I should do is have my localhost using a different one than my live.
Else I can install multiple systems on my live & create test sub-forums to use them.

Atm I don't have the time to set that up.
Thanks for testing and reporting the error.
13
SMF Arcade Support + Plugins / Re: Error
April 27, 2019, 08:08:17 pm
Please try v2.57.0-beta4 which includes a fix for what you reported.
14
SMF Arcade Support + Plugins / Re: Error
April 27, 2019, 12:29:10 am

It likely means the SMF db function wants me to include the key column for an insert or update that I may have neglected to include. Although I install games all the time without seeing the error.

Can you post the entire error minus the full path (the standard is to use xxx for your parent directories that you want unknown)?
15
Releases & Version Updates / Re: Arcade
April 24, 2019, 09:01:54 pm
The latest stable version of the arcade is at this link:
https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade

You will see updated versions there.
If a new version is available it will show a notification in your Arcade admin main page.

The support board is here:
https://web-develop.ca/index.php?board=9.0