Raised This Month: $183 Target: $400
 45% 

[L4D2] MOTD Scrolling, How?


Post New Thread Reply   
 
Thread Tools Display Modes
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-18-2020 , 02:02   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #11

Look for the <br> tag and the comment <! -- this is what you looking for-->

This Is the layout
Spoiler


This is narrow down
Spoiler


Should see something like this
Spoiler


**i might still added extra unnecessary css there as i m doing this during my lunch time.

**Download my attachment below, place it on your desktop, rename it to "motd_test.html". Double-click it.
What you see is what you get
This is me, hey you
If you want me, don't forget
You should take me as I am
'Cause I can promise you
Baby, what you see is what you get


What you see is what i saw. I have no clue what it look like in MOTD since i have no access to it.



Edit:
Example 2
Spoiler


There is another example in JavaScript but i dont want to post it as i might confused you.
Doing this has no straight path. That why i ask for your HTML earlier.

P/S: If you just start learning HTML, do the first example so you know which belong to which.
P/S2: I prefer the second example for convenient and it look way better.
.
Attached Files
File Type: txt motd_test.txt (2.6 KB, 17 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-18-2020 at 11:58. Reason: i got carried away with the lyric
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-26-2020 , 10:48   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #12

Hi,
@XJR15 please use this thread. Don't inbox me.
If i made mistake, other may see it and make corrections.

Please provide your full screen screenshoot of the game while the motd still open and send it here.
I need the actual size of the motd in pixel.

Find your background picture(s) preference link and paste it here.
Do take note that high contras picture may render letters unreadable.

Let get this done and flag the thread as sloved.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-26-2020 at 11:46. Reason: Cool.. my English getting better... :)
GsiX is offline
XJR15
Senior Member
Join Date: Sep 2010
Old 11-28-2020 , 02:30   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #13

Quote:
Originally Posted by GsiX View Post
Hi,
@XJR15 please use this thread. Don't inbox me.
If i made mistake, other may see it and make corrections.

Please provide your full screen screenshoot of the game while the motd still open and send it here.
I need the actual size of the motd in pixel.

Find your background picture(s) preference link and paste it here.
Do take note that high contras picture may render letters unreadable.

Let get this done and flag the thread as sloved.
OK I couldnt take a fullscreen screenshot with Geforce Experience because the size was 2mb and the limit for it here is 97kb so i will send a link through Steam instead and the screen size is
2560 x 1440
https://steamcommunity.com/sharedfil...?id=2301053371
click the image in the link and it should show u a fullscreen image of the motd as a workaround.
__________________
XJR15 is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-28-2020 , 08:56   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #14

This is what i have come up so far. I m a terrible graphic designer.

For the long long long long text, show me how you want the text to appear line by line..
I can't compose that for you unless you want a broken ugly speech.




Alternatively you can do it yourself like example below. See the <br> tag end of the line.
It mean break the line there and the next text will appear below it.

PHP Code:
Tier 1 Weapons are now Tier 2 level balanced.<br>
Pump shotguns deal double damage.<br>
MP5 has 30 roundsAK47 damage 58Higher Rate of Fire than AK47.<br>
Lower Range than Tier 2 RiflesOverall better accuracy than Tier 2 Rifles.
Uzi has 40 roundsSCAR damage 44Highest Rate of Fire than all guns in the game.
Lower Range than Tier 2 RiflesOverall better accuracy than Tier 2 Rifles.
SMG Silencedhas 60 roundsSG552 damage 332nd Highest Rate of Fire gun in the game.
Lower Range than Tier 2 RiflesOverall better accuracy than Tier 2 Rifles.
M16 deals 40 damage from standard 33to give it more stopping power than SG552.
which has a scope to compensateInfinite AmmoSmoker Cloud deals 5 damage,
to a maximum of 30 damageBoomer Explosion deals 30 damage in a small radius
P/S:
The picture you sent me not an actual size.
It was down size so i just grab random info on the internet.

.
Attached Files
File Type: txt motd.txt (3.3 KB, 21 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-28-2020 at 09:37. Reason: Too much English
GsiX is offline
XJR15
Senior Member
Join Date: Sep 2010
Old 11-29-2020 , 11:44   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #15

Quote:
Originally Posted by GsiX View Post
This is what i have come up so far. I m a terrible graphic designer.

For the long long long long text, show me how you want the text to appear line by line..
I can't compose that for you unless you want a broken ugly speech.




Alternatively you can do it yourself like example below. See the <br> tag end of the line.
It mean break the line there and the next text will appear below it.

PHP Code:
Tier 1 Weapons are now Tier 2 level balanced.<br>
Pump shotguns deal double damage.<br>
MP5 has 30 roundsAK47 damage 58Higher Rate of Fire than AK47.<br>
Lower Range than Tier 2 RiflesOverall better accuracy than Tier 2 Rifles.
Uzi has 40 roundsSCAR damage 44Highest Rate of Fire than all guns in the game.
Lower Range than Tier 2 RiflesOverall better accuracy than Tier 2 Rifles.
SMG Silencedhas 60 roundsSG552 damage 332nd Highest Rate of Fire gun in the game.
Lower Range than Tier 2 RiflesOverall better accuracy than Tier 2 Rifles.
M16 deals 40 damage from standard 33to give it more stopping power than SG552.
which has a scope to compensateInfinite AmmoSmoker Cloud deals 5 damage,
to a maximum of 30 damageBoomer Explosion deals 30 damage in a small radius
P/S:
The picture you sent me not an actual size.
It was down size so i just grab random info on the internet.

.
OK im sorry about all of this. All I wanted was a scroll wheel for the MOTD nothing else. So with that said can u tell me how to have the scroll wheel in the MOTD of L4D2 with nothing fancy like basically what u type in MOTD with just the scroll wheel so a large amount of words can be used.

thank you.
__________________

Last edited by XJR15; 11-29-2020 at 11:46.
XJR15 is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-30-2020 , 11:29   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #16

Open the file with Notepad++ so you know what i am saying.

This is the new look:
Spoiler


In the picture below under the <style> tag:

modify -
"https://i.ibb.co/LgtZrgF/l4d2-1-min.jpg"
for your own background.
make sure the picture at 800px X 400px and fully compressed so you can save download data for your client.

modify -
max-width: 600px;
for your own liking text wrapper width.
-first width is your "My Awosme Server" width.
-second is your long long long long text width.
-the last overflow-y:scroll; attribute is the magic doing the scroll which is targeting the "my_content" class.
Spoiler


In picture below is your command advertising.
You can add 1 million stack on top of another as long as your PC ram allowed.
Spoiler


In picture below is your speech advertising.
Also can be 1 million stack on top of another if your ram allowed you to do it.
Consider download more ram at "www.downloadmoreram.com"
Notice the <h3>L4D2 Arcade Edition:</h3> is the advertisement title.
Spoiler


Click this link. This is call ONLINE PHOTOSHOP
You may use the photoshop link to show me how it suppose to be.

If you simply want to scroll without HTML, YOU CAN'T DO IT

EDIT: Don't download more ram please. I wont responsible.
Attached Files
File Type: txt mymotd.txt (16.8 KB, 17 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-30-2020 at 11:36. Reason: www.downloadmoreram.com
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-30-2020 , 11:52   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #17

This is just scroll. Does noting.

EDIT: Oh dear... we hit 1.1k views for this. I m speechless.
.
.
Attached Files
File Type: txt mymotd2.txt (27.2 KB, 14 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-30-2020 at 12:01.
GsiX is offline
XJR15
Senior Member
Join Date: Sep 2010
Old 11-30-2020 , 18:39   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #18

OK i figured it out its not your MOTD thats the problem its my MOTD doesnt update in real time like when i modify it and restart the server it doesnt update like it retains an old version which was confusing me. do you know why this would happen? i checked motd.txt on server location and in cfg line of game server interface it has the code of your new one but when i need to modify it to make it better for the server it doesnt update in real time after i restart the server after changing the motd. but ingame it retains an older outdated version. do u know how to get it to update right as soon as u change it and restart the server?

thank you.
__________________

Last edited by XJR15; 11-30-2020 at 18:39.
XJR15 is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 12-01-2020 , 02:47   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #19

This thread best describe as:
If you put Hitler and me side by side and you have shotgun double barrel with only 2 ammo,
I ll beg you to give me a triple tap at forehead.

Of coz the motd will work, i just don't have the actual size.
I know what i am doing and i have done many website myself.
I even show you my browser screen shoot showing the html on top right
and css properties at bottom right accompany with tutorial 101 for 10 years old kids.


If you want to modify it with your own taste, do it like i did.
Your browser at empty space anywhere,
right click > inspect element(Ctrl + Shift + I) > toggle device toolbar TAB(smartphone and tablet icon). Set the size there.
Every time you change something just hit the refresh button. Just make sure the file rename mymotd.html

To answer your question, inside your server.cfg put this.
PHP Code:
motdfile    "mymotd.txt" 
the motd file name must be mymotd.txt and should be inside the same directory as the server.cfg.
Never use motd.txt as every time you do update the server, motd.txt file may be overwritten. Best to use your own custom name.

This information available all over the internet.
.
.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 12-01-2020 at 05:17. Reason: slicing thru text
GsiX is offline
XJR15
Senior Member
Join Date: Sep 2010
Old 12-02-2020 , 13:33   Re: [L4D2] MOTD Scrolling, How?
Reply With Quote #20

Quote:
Originally Posted by GsiX View Post
This thread best describe as:
If you put Hitler and me side by side and you have shotgun double barrel with only 2 ammo,
I ll beg you to give me a triple tap at forehead.

Of coz the motd will work, i just don't have the actual size.
I know what i am doing and i have done many website myself.
I even show you my browser screen shoot showing the html on top right
and css properties at bottom right accompany with tutorial 101 for 10 years old kids.


If you want to modify it with your own taste, do it like i did.
Your browser at empty space anywhere,
right click > inspect element(Ctrl + Shift + I) > toggle device toolbar TAB(smartphone and tablet icon). Set the size there.
Every time you change something just hit the refresh button. Just make sure the file rename mymotd.html

To answer your question, inside your server.cfg put this.
PHP Code:
motdfile    "mymotd.txt" 
the motd file name must be mymotd.txt and should be inside the same directory as the server.cfg.
Never use motd.txt as every time you do update the server, motd.txt file may be overwritten. Best to use your own custom name.

This information available all over the internet.
.
.
OK i just tried putting it in server cfg and in server.cfg folder area it did not work. also i dont have an HTML for this. Im sorry for the hassle i didnt expect to just get a scroll wheel for MOTD to be this bad. u dont have to do the fancy background and such i just need a scroll wheel for standard MOTD of L4D2 Basically this:

type !csm - in chat to change your survivor character.
type !join - in chat if stuck in spectate.
Right Click - to pass your throwable to a teammate when near them.
You can crawl when incapacitated with W key.
type !pickbot !nextbot !prevbot in chat to select a bot when on survivor team or when DEAD.

L4D2 Arcade Edition:
Tier 1 Weapons are now Tier 2 level balanced.
Pump shotguns deal double damage.
MP5 has 30 rounds, AK47 damage 58, Higher Rate of Fire than AK47, Lower Range than Tier 2 Rifles, Overall better accuracy than Tier 2 Rifles.
Uzi has 40 rounds, SCAR damage 44, Highest Rate of Fire than all guns in the game, Lower Range than Tier 2 Rifles, Overall better accuracy than Tier 2 Rifles.
SMG Silenced, has 60 rounds, SG552 damage 33, 2nd Highest Rate of Fire gun in the game, Lower Range than Tier 2 Rifles, Overall better accuracy than Tier 2 Rifles.
M16 deals 40 damage from standard 33, to give it more stopping power than SG552, which has a scope to compensate.
Infinite Ammo!

but with a scroll wheel, and a scroll wheel alone. simple MOTD like that doesnt have a problem persisting for me in l4d2 and when i update my 2 servers i just copy paste the info back into the command line so there really is no problem.

thank you for all the help thus far, it really is appreciated. <3
__________________

Last edited by XJR15; 12-02-2020 at 13:34.
XJR15 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:13.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode